Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / CommonUI / System / Drawing / Advanced / InstalledFontCollection.cs / 1 / 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
- KeyValuePair.cs
- RIPEMD160.cs
- DeferredSelectedIndexReference.cs
- WebPartAuthorizationEventArgs.cs
- SyndicationDeserializer.cs
- X509ClientCertificateAuthenticationElement.cs
- BeginStoryboard.cs
- WebBrowserNavigatingEventHandler.cs
- TransportSecurityBindingElement.cs
- Int32Storage.cs
- LiteralTextContainerControlBuilder.cs
- ThreadAbortException.cs
- ChtmlSelectionListAdapter.cs
- ImageList.cs
- Msmq3PoisonHandler.cs
- StreamGeometryContext.cs
- UrlAuthFailedErrorFormatter.cs
- HttpModuleCollection.cs
- GeneratedCodeAttribute.cs
- ConfigurationPropertyCollection.cs
- DateTimeValueSerializer.cs
- HtmlProps.cs
- GlyphInfoList.cs
- Int32Collection.cs
- StrongNamePublicKeyBlob.cs
- State.cs
- XmlMapping.cs
- PersistenceException.cs
- CallbackHandler.cs
- XhtmlBasicCommandAdapter.cs
- PropertySourceInfo.cs
- TimeoutException.cs
- EventDescriptorCollection.cs
- ClientProxyGenerator.cs
- DrawingBrush.cs
- ErrorTableItemStyle.cs
- IfAction.cs
- QilBinary.cs
- View.cs
- UnsafeNativeMethods.cs
- RelatedCurrencyManager.cs
- ToolStripDropDownClosedEventArgs.cs
- ADConnectionHelper.cs
- ConstructorBuilder.cs
- WindowsSysHeader.cs
- BindingsCollection.cs
- EntityCommandExecutionException.cs
- IMembershipProvider.cs
- WmlValidatorAdapter.cs
- Normalization.cs
- Msec.cs
- Constraint.cs
- RoutedCommand.cs
- DelayedRegex.cs
- SourceItem.cs
- PropertyInformationCollection.cs
- HostedController.cs
- ConnectionModeReader.cs
- FileSecurity.cs
- TextureBrush.cs
- ProviderBase.cs
- LiteralTextContainerControlBuilder.cs
- QuerySettings.cs
- RectangleGeometry.cs
- XmlEventCache.cs
- xmlformatgeneratorstatics.cs
- FixedPageProcessor.cs
- ClockGroup.cs
- COM2ExtendedUITypeEditor.cs
- ConnectionStringsExpressionBuilder.cs
- XamlRtfConverter.cs
- ToolBarButtonClickEvent.cs
- HtmlForm.cs
- HScrollBar.cs
- WCFModelStrings.Designer.cs
- PathFigureCollection.cs
- ZipIOExtraFieldElement.cs
- DataReaderContainer.cs
- UserInitiatedNavigationPermission.cs
- Graphics.cs
- SerializationInfoEnumerator.cs
- WebPartConnectionsConnectVerb.cs
- PhysicalOps.cs
- PrivateFontCollection.cs
- DesignerImageAdapter.cs
- TextBounds.cs
- TaskHelper.cs
- ErrorsHelper.cs
- WebHttpSecurityModeHelper.cs
- ObjectViewListener.cs
- TraceLog.cs
- HtmlShimManager.cs
- PageContentAsyncResult.cs
- ResourceKey.cs
- RunClient.cs
- AssemblyBuilder.cs
- DataGridViewColumnConverter.cs
- Random.cs
- MemberListBinding.cs
- SubqueryRules.cs