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
- ConfigurationValue.cs
- Selection.cs
- IndexExpression.cs
- ImagingCache.cs
- PageParser.cs
- ParameterBuilder.cs
- BindingListCollectionView.cs
- arclist.cs
- ProjectedSlot.cs
- PageSettings.cs
- TextEffect.cs
- AVElementHelper.cs
- ServiceContractListItem.cs
- MsdtcWrapper.cs
- HyperLinkColumn.cs
- EntityContainerEntitySet.cs
- SqlDataSourceEnumerator.cs
- XomlCompilerParameters.cs
- XmlILStorageConverter.cs
- NamespaceEmitter.cs
- WeakReferenceList.cs
- DoubleAnimationClockResource.cs
- XmlILStorageConverter.cs
- XLinq.cs
- DBPropSet.cs
- TextViewBase.cs
- ErrorProvider.cs
- SessionStateItemCollection.cs
- UserControlDesigner.cs
- Internal.cs
- CharacterBuffer.cs
- CodeNamespaceImportCollection.cs
- ExplicitDiscriminatorMap.cs
- SerialReceived.cs
- ValueTable.cs
- CodePageEncoding.cs
- DataControlField.cs
- HandlerFactoryWrapper.cs
- CachingHintValidation.cs
- dbenumerator.cs
- InputScopeAttribute.cs
- DiagnosticTrace.cs
- Delay.cs
- CFGGrammar.cs
- RegexStringValidatorAttribute.cs
- _SecureChannel.cs
- TransformationRules.cs
- DataGridGeneralPage.cs
- WindowsTreeView.cs
- ZipIOExtraFieldPaddingElement.cs
- DropShadowEffect.cs
- _PooledStream.cs
- HttpModuleCollection.cs
- ColorIndependentAnimationStorage.cs
- QuaternionAnimation.cs
- OdbcCommandBuilder.cs
- SqlBinder.cs
- CodeTypeConstructor.cs
- OrderedDictionaryStateHelper.cs
- MarginCollapsingState.cs
- SqlFormatter.cs
- SequentialUshortCollection.cs
- _ChunkParse.cs
- ProviderConnectionPointCollection.cs
- RuleElement.cs
- FloatMinMaxAggregationOperator.cs
- HyperLink.cs
- BuildProvider.cs
- FixedFlowMap.cs
- SqlCaseSimplifier.cs
- linebase.cs
- DataGridViewRowPostPaintEventArgs.cs
- ConfigurationLoaderException.cs
- ActivationArguments.cs
- XmlNullResolver.cs
- BufferedWebEventProvider.cs
- PingReply.cs
- DifferencingCollection.cs
- Paragraph.cs
- TransactionState.cs
- SqlDataSourceQueryConverter.cs
- SynchronizedDispatch.cs
- XPathDescendantIterator.cs
- LongSumAggregationOperator.cs
- BindingList.cs
- GradientStop.cs
- CodeIndexerExpression.cs
- RuleElement.cs
- ToolBarDesigner.cs
- EventWaitHandle.cs
- _Connection.cs
- SqlGatherConsumedAliases.cs
- PathNode.cs
- AuthenticationModuleElement.cs
- TreeNodeEventArgs.cs
- PropertySegmentSerializationProvider.cs
- EdmItemError.cs
- FileUpload.cs
- ImageField.cs
- TreeIterators.cs