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
- CheckoutException.cs
- FrugalMap.cs
- TypeUtils.cs
- GPRECTF.cs
- ThemeableAttribute.cs
- ColorBlend.cs
- System.Data_BID.cs
- TextBox.cs
- DragEventArgs.cs
- ShaderRenderModeValidation.cs
- Int32Storage.cs
- WSSecurityPolicy.cs
- RtfControlWordInfo.cs
- UnsafeNativeMethods.cs
- DesignTable.cs
- HttpEncoderUtility.cs
- HtmlControl.cs
- ReadOnlyHierarchicalDataSource.cs
- RadioButtonDesigner.cs
- AngleUtil.cs
- DataExpression.cs
- IncrementalReadDecoders.cs
- MDIWindowDialog.cs
- SqlDataSourceEnumerator.cs
- EditorAttribute.cs
- PointLightBase.cs
- precedingquery.cs
- ArrayListCollectionBase.cs
- ContextStack.cs
- WebPartDisplayMode.cs
- IdentifierService.cs
- NotCondition.cs
- ModifiableIteratorCollection.cs
- CodeArgumentReferenceExpression.cs
- X509SubjectKeyIdentifierClause.cs
- TableLayoutPanelCellPosition.cs
- HttpRequestBase.cs
- XPathAncestorQuery.cs
- RenameRuleObjectDialog.Designer.cs
- FrameDimension.cs
- JsonDeserializer.cs
- NameSpaceExtractor.cs
- Maps.cs
- SelectionItemProviderWrapper.cs
- FileFormatException.cs
- SecurityResources.cs
- AutoGeneratedField.cs
- SectionInformation.cs
- RowBinding.cs
- WinFormsComponentEditor.cs
- basecomparevalidator.cs
- InteropBitmapSource.cs
- GeneratedCodeAttribute.cs
- CodeNamespaceCollection.cs
- SubstitutionList.cs
- AnchoredBlock.cs
- OdbcStatementHandle.cs
- MatrixKeyFrameCollection.cs
- GridViewUpdatedEventArgs.cs
- SmtpReplyReader.cs
- ExpressionBindings.cs
- _SslState.cs
- TabControlAutomationPeer.cs
- SqlDataAdapter.cs
- ResourceAssociationSet.cs
- HttpClientCredentialType.cs
- ClientSponsor.cs
- SocketInformation.cs
- parserscommon.cs
- Point3DIndependentAnimationStorage.cs
- ThumbButtonInfoCollection.cs
- OleDbDataReader.cs
- CodePrimitiveExpression.cs
- XmlLanguageConverter.cs
- ClientApiGenerator.cs
- DynamicDocumentPaginator.cs
- Cursor.cs
- WindowsAuthenticationEventArgs.cs
- DesignerProperties.cs
- ResourceKey.cs
- NativeActivityFaultContext.cs
- QilGeneratorEnv.cs
- ProfileInfo.cs
- IndependentAnimationStorage.cs
- LoginUtil.cs
- WriterOutput.cs
- XslCompiledTransform.cs
- __Filters.cs
- ComAwareEventInfo.cs
- TextBoxBase.cs
- GridErrorDlg.cs
- ImageListStreamer.cs
- HttpResponseHeader.cs
- ReferenceConverter.cs
- DetailsView.cs
- RegexMatchCollection.cs
- UserPersonalizationStateInfo.cs
- GridViewRowPresenterBase.cs
- SafeBuffer.cs
- BeginEvent.cs