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
- SettingsAttributeDictionary.cs
- ResizeGrip.cs
- SiteMapDataSourceView.cs
- IdentityValidationException.cs
- RenderContext.cs
- Clause.cs
- ProgramPublisher.cs
- XslNumber.cs
- DataGridViewAddColumnDialog.cs
- XPathMultyIterator.cs
- DispatcherFrame.cs
- MergePropertyDescriptor.cs
- InputLangChangeRequestEvent.cs
- MulticastDelegate.cs
- DefinitionUpdate.cs
- OleDbConnectionFactory.cs
- SerializerProvider.cs
- InternalsVisibleToAttribute.cs
- PaintEvent.cs
- BindingsCollection.cs
- HttpBrowserCapabilitiesWrapper.cs
- WebBrowsableAttribute.cs
- Part.cs
- URLAttribute.cs
- DataGridViewLayoutData.cs
- MethodImplAttribute.cs
- XmlSchemaIdentityConstraint.cs
- StringConcat.cs
- FlatButtonAppearance.cs
- ToolBarButton.cs
- MessageQueuePermissionEntry.cs
- Panel.cs
- _DisconnectOverlappedAsyncResult.cs
- ObjectQueryProvider.cs
- TripleDES.cs
- TextUtf8RawTextWriter.cs
- SafeEventLogWriteHandle.cs
- _KerberosClient.cs
- FormViewUpdatedEventArgs.cs
- CodeArrayCreateExpression.cs
- Utils.cs
- EventlogProvider.cs
- TypeInitializationException.cs
- BuildProvider.cs
- SpecialTypeDataContract.cs
- RecognizedWordUnit.cs
- CacheDependency.cs
- Size3DConverter.cs
- DataGridViewTopLeftHeaderCell.cs
- SqlBuilder.cs
- PassportPrincipal.cs
- BitConverter.cs
- MaskInputRejectedEventArgs.cs
- FlowDecisionDesigner.xaml.cs
- Operator.cs
- Convert.cs
- TypeNameConverter.cs
- DbParameterCollectionHelper.cs
- Base64Stream.cs
- AnimationException.cs
- ResponseStream.cs
- LinqExpressionNormalizer.cs
- ConnectionPool.cs
- BinaryObjectReader.cs
- SourceFileBuildProvider.cs
- SpellerStatusTable.cs
- DataContractSet.cs
- _SingleItemRequestCache.cs
- UpDownBase.cs
- RawStylusSystemGestureInputReport.cs
- ToolStripOverflowButton.cs
- SystemBrushes.cs
- Exception.cs
- IsolatedStorageFileStream.cs
- QueryOpeningEnumerator.cs
- OrderedDictionary.cs
- DrawingAttributeSerializer.cs
- ToolStripSeparatorRenderEventArgs.cs
- BulletChrome.cs
- ProcessStartInfo.cs
- ContextStaticAttribute.cs
- XmlSchemaAttributeGroup.cs
- FactoryRecord.cs
- CallbackWrapper.cs
- CachedPathData.cs
- ResourceExpressionBuilder.cs
- CharAnimationBase.cs
- ReplacementText.cs
- OleDbInfoMessageEvent.cs
- CodeMemberField.cs
- WebServiceParameterData.cs
- ScrollBar.cs
- Label.cs
- CodeStatementCollection.cs
- CompositionCommandSet.cs
- SqlDataSourceConfigureFilterForm.cs
- XmlAttribute.cs
- SystemIcmpV4Statistics.cs
- AssemblyFilter.cs
- HtmlInputFile.cs