Code:
/ FX-1434 / FX-1434 / 1.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
- DependencyObjectValidator.cs
- ObjectItemCollection.cs
- DataListGeneralPage.cs
- HttpAsyncResult.cs
- Triplet.cs
- ModuleBuilderData.cs
- DiscreteKeyFrames.cs
- brushes.cs
- RegexWorker.cs
- CacheVirtualItemsEvent.cs
- SqlDataSourceConfigureFilterForm.cs
- PageFunction.cs
- SafeBitVector32.cs
- StaticTextPointer.cs
- PolicyImporterElement.cs
- MemoryStream.cs
- ReachDocumentPageSerializer.cs
- GB18030Encoding.cs
- FormsAuthenticationUserCollection.cs
- ComponentChangingEvent.cs
- ScriptResourceAttribute.cs
- CalendarButton.cs
- _SpnDictionary.cs
- TraceInternal.cs
- SoapAttributeAttribute.cs
- IPAddress.cs
- RemoteWebConfigurationHostStream.cs
- ReadOnlyCollection.cs
- XmlText.cs
- DataGridViewRowPrePaintEventArgs.cs
- SamlNameIdentifierClaimResource.cs
- ImageEditor.cs
- PartialCachingControl.cs
- mongolianshape.cs
- InfoCardSymmetricAlgorithm.cs
- Merger.cs
- Timeline.cs
- DependencyPropertyConverter.cs
- DataViewManagerListItemTypeDescriptor.cs
- TypeDependencyAttribute.cs
- OracleDataAdapter.cs
- TextElementEditingBehaviorAttribute.cs
- Calendar.cs
- LostFocusEventManager.cs
- WindowAutomationPeer.cs
- NativeMethods.cs
- Image.cs
- Privilege.cs
- PerformanceCounterPermission.cs
- XamlToRtfWriter.cs
- MetadataArtifactLoaderComposite.cs
- ByteStack.cs
- CDSsyncETWBCLProvider.cs
- HTTPNotFoundHandler.cs
- TransformerInfo.cs
- CryptoHandle.cs
- JsonEncodingStreamWrapper.cs
- SQLBytes.cs
- XmlNamespaceMapping.cs
- EncodingNLS.cs
- IsolationInterop.cs
- ThaiBuddhistCalendar.cs
- sitestring.cs
- ColorConvertedBitmap.cs
- DefaultIfEmptyQueryOperator.cs
- CloseCryptoHandleRequest.cs
- ExceptionUtility.cs
- IList.cs
- GroupBox.cs
- ToolStripMenuItem.cs
- OleDbParameter.cs
- ViewStateModeByIdAttribute.cs
- TemplateField.cs
- RegexNode.cs
- TemplatedAdorner.cs
- BindingsCollection.cs
- XmlNodeReader.cs
- OleCmdHelper.cs
- ServiceManagerHandle.cs
- PasswordTextNavigator.cs
- AutoFocusStyle.xaml.cs
- ServiceDesigner.cs
- TableLayoutCellPaintEventArgs.cs
- CodeSubDirectory.cs
- WriteTimeStream.cs
- NamespaceList.cs
- MimePart.cs
- SiteMapDataSource.cs
- ScriptControl.cs
- SystemUnicastIPAddressInformation.cs
- AdornerPresentationContext.cs
- VariantWrapper.cs
- WebBrowserProgressChangedEventHandler.cs
- streamingZipPartStream.cs
- X509SecurityTokenProvider.cs
- MsmqEncryptionAlgorithm.cs
- SafeFileMapViewHandle.cs
- XmlChildNodes.cs
- CollectionEditorDialog.cs
- securitymgrsite.cs