Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- EdmProviderManifest.cs
- LinqDataSourceValidationException.cs
- ThemeConfigurationDialog.cs
- WebPartTransformerCollection.cs
- XmlSignatureManifest.cs
- ContentElement.cs
- ChangesetResponse.cs
- LifetimeServices.cs
- GenericTypeParameterBuilder.cs
- DBCSCodePageEncoding.cs
- MergeLocalizationDirectives.cs
- DbParameterHelper.cs
- FileSystemWatcher.cs
- WebPartTransformerCollection.cs
- SystemKeyConverter.cs
- PropertyRecord.cs
- LinkButton.cs
- SqlTriggerAttribute.cs
- ErrorReporting.cs
- ThumbButtonInfoCollection.cs
- DocumentGrid.cs
- localization.cs
- TreeNodeEventArgs.cs
- CollectionViewGroupInternal.cs
- SizeFConverter.cs
- TokenFactoryBase.cs
- XmlSerializer.cs
- RIPEMD160Managed.cs
- CheckBoxStandardAdapter.cs
- ResourceDisplayNameAttribute.cs
- ResourceDescriptionAttribute.cs
- PolicyImporterElement.cs
- RootBrowserWindow.cs
- WebPartConnectionsCancelVerb.cs
- FormsAuthenticationModule.cs
- ByteStream.cs
- Receive.cs
- TcpStreams.cs
- ScalarRestriction.cs
- BooleanFunctions.cs
- Matrix.cs
- TreeBuilder.cs
- CacheDependency.cs
- TemplatedMailWebEventProvider.cs
- ObfuscateAssemblyAttribute.cs
- PersonalizableAttribute.cs
- FastEncoderWindow.cs
- DrawingGroup.cs
- InternalConfigSettingsFactory.cs
- ConfigXmlWhitespace.cs
- AcceleratedTokenProvider.cs
- XmlNotation.cs
- OdbcFactory.cs
- XmlSchemaSimpleContentRestriction.cs
- AdapterDictionary.cs
- QueryResults.cs
- NonSerializedAttribute.cs
- MetadataPropertyCollection.cs
- ConnectionConsumerAttribute.cs
- CompositeControl.cs
- TemplateBuilder.cs
- _RequestCacheProtocol.cs
- _AcceptOverlappedAsyncResult.cs
- DataGridViewButtonColumn.cs
- TaskResultSetter.cs
- SystemWebSectionGroup.cs
- SoapIgnoreAttribute.cs
- ViewCellRelation.cs
- AbsoluteQuery.cs
- DelegatingConfigHost.cs
- SqlSelectStatement.cs
- TemplateBindingExtension.cs
- DataControlCommands.cs
- OdbcConnection.cs
- TextDocumentView.cs
- MaterialGroup.cs
- RelationshipConverter.cs
- ObjectPersistData.cs
- WindowsPrincipal.cs
- RegexMatch.cs
- ControlDesignerState.cs
- Drawing.cs
- HttpDictionary.cs
- ExtensibleSyndicationObject.cs
- WindowsAuthenticationModule.cs
- UIElement.cs
- ToolStripMenuItem.cs
- WebPartConnection.cs
- UnicodeEncoding.cs
- TextDataBindingHandler.cs
- XmlSerializerVersionAttribute.cs
- ListChangedEventArgs.cs
- UserControlCodeDomTreeGenerator.cs
- ObjectDisposedException.cs
- PathFigureCollection.cs
- NavigationHelper.cs
- ToolStripContainer.cs
- BrowserDefinitionCollection.cs
- DbParameterCollectionHelper.cs
- CodeSnippetStatement.cs