Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / CommonUI / System / Drawing / Advanced / InstalledFontCollection.cs / 1 / InstalledFontCollection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /*************************************************************************\ * * Copyright (c) 1998-1999, Microsoft Corp. All Rights Reserved. * * Module Name: * * font.cs * * Abstract: * * COM+ wrapper for GDI+ font objects * * Revision History: * * 3/16/2000 [...] * Created it. * \**************************************************************************/ 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. // Copyright (c) Microsoft Corporation. All rights reserved.class. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- UnsafeNativeMethods.cs
- WmlLabelAdapter.cs
- BoolExpr.cs
- SafeThemeHandle.cs
- figurelength.cs
- DependencySource.cs
- templategroup.cs
- OperatingSystem.cs
- Roles.cs
- ViewStateChangedEventArgs.cs
- followingquery.cs
- UnsignedPublishLicense.cs
- SpecialFolderEnumConverter.cs
- Win32.cs
- SmtpNegotiateAuthenticationModule.cs
- PropertyDescriptorGridEntry.cs
- ProfileSection.cs
- _NestedMultipleAsyncResult.cs
- Viewport2DVisual3D.cs
- ThaiBuddhistCalendar.cs
- CompilerState.cs
- StringTraceRecord.cs
- GenericIdentity.cs
- ApplicationActivator.cs
- XmlNavigatorStack.cs
- HighlightVisual.cs
- BufferedMessageData.cs
- AttachmentService.cs
- DispatcherObject.cs
- DataServiceQueryException.cs
- EmptyStringExpandableObjectConverter.cs
- TagMapCollection.cs
- TypeSystem.cs
- PackageRelationshipCollection.cs
- TextBlockAutomationPeer.cs
- UrlMapping.cs
- SqlTrackingWorkflowInstance.cs
- CollectionViewGroupRoot.cs
- SafeEventLogWriteHandle.cs
- UnaryNode.cs
- RootProfilePropertySettingsCollection.cs
- SafeFileMappingHandle.cs
- ToolTip.cs
- StateRuntime.cs
- FunctionImportMapping.cs
- AppearanceEditorPart.cs
- PassportIdentity.cs
- EventHandlerService.cs
- SiteMembershipCondition.cs
- MethodExpr.cs
- CuspData.cs
- ChildChangedEventArgs.cs
- UIElementPropertyUndoUnit.cs
- SortKey.cs
- DocumentApplicationJournalEntryEventArgs.cs
- FloatSumAggregationOperator.cs
- DataContractJsonSerializer.cs
- ApplicationServiceHelper.cs
- RefreshPropertiesAttribute.cs
- UriTemplateCompoundPathSegment.cs
- CreateUserErrorEventArgs.cs
- ExtensionFile.cs
- LiteralLink.cs
- SqlExpander.cs
- UnSafeCharBuffer.cs
- SiteMapHierarchicalDataSourceView.cs
- XmlBaseReader.cs
- AnnotationAdorner.cs
- TextDecorationCollection.cs
- Model3D.cs
- ProvidersHelper.cs
- NamedObject.cs
- UnsafeNativeMethodsCLR.cs
- OdbcConnectionOpen.cs
- columnmapkeybuilder.cs
- _HTTPDateParse.cs
- ViewRendering.cs
- NonPrimarySelectionGlyph.cs
- COM2ColorConverter.cs
- SevenBitStream.cs
- InputLangChangeEvent.cs
- RegexMatchCollection.cs
- BitStream.cs
- DbProviderFactoriesConfigurationHandler.cs
- HtmlTableCell.cs
- HttpApplicationStateWrapper.cs
- MethodImplAttribute.cs
- _NetworkingPerfCounters.cs
- ClientSponsor.cs
- WmlImageAdapter.cs
- MenuCommand.cs
- _ContextAwareResult.cs
- _StreamFramer.cs
- Properties.cs
- EntityParameter.cs
- InternalConfigSettingsFactory.cs
- FileClassifier.cs
- PrintDialogException.cs
- SelectedGridItemChangedEvent.cs
- TextTrailingCharacterEllipsis.cs