Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CommonUI / System / Drawing / Advanced / InstalledFontCollection.cs / 2 / InstalledFontCollection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Drawing.Text { using System.Diagnostics; using System; using System.Drawing; using System.Drawing.Internal; using System.Runtime.InteropServices; using System.ComponentModel; using Microsoft.Win32; ////// /// public sealed class InstalledFontCollection : FontCollection { ////// Represents the fonts installed on the /// system. /// ////// /// Initializes a new instance of the public InstalledFontCollection() { nativeFontCollection = IntPtr.Zero; int status = SafeNativeMethods.Gdip.GdipNewInstalledFontCollection(out nativeFontCollection); if (status != SafeNativeMethods.Gdip.Ok) throw SafeNativeMethods.Gdip.StatusException(status); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //class. /// // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Drawing.Text { using System.Diagnostics; using System; using System.Drawing; using System.Drawing.Internal; using System.Runtime.InteropServices; using System.ComponentModel; using Microsoft.Win32; ////// /// public sealed class InstalledFontCollection : FontCollection { ////// Represents the fonts installed on the /// system. /// ////// /// Initializes a new instance of the public InstalledFontCollection() { nativeFontCollection = IntPtr.Zero; int status = SafeNativeMethods.Gdip.GdipNewInstalledFontCollection(out nativeFontCollection); if (status != SafeNativeMethods.Gdip.Ok) throw SafeNativeMethods.Gdip.StatusException(status); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.class. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlEnumAttribute.cs
- DataFieldEditor.cs
- CheckedPointers.cs
- XmlReflectionImporter.cs
- CustomError.cs
- Random.cs
- ReadOnlyDataSourceView.cs
- BindingSourceDesigner.cs
- BaseServiceProvider.cs
- DllNotFoundException.cs
- ClientApiGenerator.cs
- RevocationPoint.cs
- SHA1CryptoServiceProvider.cs
- Form.cs
- ListViewHitTestInfo.cs
- CustomValidator.cs
- BaseTemplateParser.cs
- PassportIdentity.cs
- _HeaderInfoTable.cs
- ReflectEventDescriptor.cs
- CodeCommentStatement.cs
- IdentityReference.cs
- ProcessHostFactoryHelper.cs
- TextDpi.cs
- Authorization.cs
- HttpBindingExtension.cs
- WmlSelectionListAdapter.cs
- Double.cs
- NavigationWindow.cs
- log.cs
- AggregationMinMaxHelpers.cs
- PageHandlerFactory.cs
- CacheManager.cs
- WrappedKeySecurityToken.cs
- PropertyConverter.cs
- TreeNodeStyle.cs
- OracleBinary.cs
- RtType.cs
- DataRecordObjectView.cs
- HtmlCommandAdapter.cs
- DataGridViewTopRowAccessibleObject.cs
- CodeLabeledStatement.cs
- EntityConnectionStringBuilder.cs
- TextPenaltyModule.cs
- ToolStripScrollButton.cs
- MatrixStack.cs
- ElementsClipboardData.cs
- DoubleAnimationBase.cs
- FilterQueryOptionExpression.cs
- SparseMemoryStream.cs
- PropertyChangeTracker.cs
- CodeGeneratorAttribute.cs
- StreamResourceInfo.cs
- EventWaitHandle.cs
- RuntimeEnvironment.cs
- BamlRecords.cs
- ChangeBlockUndoRecord.cs
- ToggleProviderWrapper.cs
- Attributes.cs
- RepeaterDesigner.cs
- ObjectContextServiceProvider.cs
- ObjectStateFormatter.cs
- TextElementCollection.cs
- HtmlInputFile.cs
- XmlWriter.cs
- Expression.cs
- Baml6ConstructorInfo.cs
- QilInvokeEarlyBound.cs
- ViewManager.cs
- TreeNodeClickEventArgs.cs
- PartialToken.cs
- ProgressBarRenderer.cs
- WorkflowRuntimeServiceElement.cs
- GregorianCalendarHelper.cs
- MenuItem.cs
- SystemInfo.cs
- HttpListenerException.cs
- Configuration.cs
- Validator.cs
- RuleSetReference.cs
- TimeSpanStorage.cs
- WebHttpSecurity.cs
- ApplicationSecurityInfo.cs
- XPathNode.cs
- _FixedSizeReader.cs
- TcpPortSharing.cs
- Parser.cs
- PerfCounterSection.cs
- ModifiableIteratorCollection.cs
- ImageAutomationPeer.cs
- XmlnsCache.cs
- SafeNativeMethods.cs
- Profiler.cs
- ExtentCqlBlock.cs
- RoleGroup.cs
- XmlSchemaSet.cs
- ProtocolsConfigurationEntry.cs
- SQLInt32Storage.cs
- XamlTreeBuilderBamlRecordWriter.cs
- EmptyEnumerable.cs