Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- SafeNativeMethods.cs
- HelpEvent.cs
- TextSelectionHelper.cs
- MobileControlsSection.cs
- DebugControllerThread.cs
- DelegatingTypeDescriptionProvider.cs
- Model3DCollection.cs
- DataGridViewTextBoxColumn.cs
- TextProperties.cs
- PackageDigitalSignature.cs
- BaseServiceProvider.cs
- RegexTree.cs
- TextBox.cs
- DictionaryBase.cs
- InputScopeNameConverter.cs
- XmlDocument.cs
- SqlXml.cs
- RequestCache.cs
- WeakReferenceList.cs
- DesignerActionList.cs
- CompilerGeneratedAttribute.cs
- RoleManagerModule.cs
- TraceXPathNavigator.cs
- Helper.cs
- XamlBrushSerializer.cs
- XmlReaderDelegator.cs
- AutoResizedEvent.cs
- HostedHttpRequestAsyncResult.cs
- Adorner.cs
- LiteralTextContainerControlBuilder.cs
- SortAction.cs
- DoubleStorage.cs
- DataSetMappper.cs
- WindowsStreamSecurityUpgradeProvider.cs
- PolyBezierSegment.cs
- OdbcDataReader.cs
- SafeArrayRankMismatchException.cs
- OutputCacheProfile.cs
- XmlChildNodes.cs
- TypeUtil.cs
- DeclarativeConditionsCollection.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- MemoryMappedViewStream.cs
- SignedPkcs7.cs
- TextBoxAutoCompleteSourceConverter.cs
- DataSourceXmlTextReader.cs
- WorkflowApplicationIdleEventArgs.cs
- TextEditorCopyPaste.cs
- InternalSafeNativeMethods.cs
- DataGridHeaderBorder.cs
- WebScriptMetadataFormatter.cs
- GeneralTransform2DTo3D.cs
- UIPropertyMetadata.cs
- SqlNodeTypeOperators.cs
- EmptyEnumerator.cs
- BindingSource.cs
- _ProxyChain.cs
- TerminatorSinks.cs
- TreeNodeSelectionProcessor.cs
- ReservationNotFoundException.cs
- WorkflowEventArgs.cs
- KeyGesture.cs
- FlowLayoutPanel.cs
- RouteItem.cs
- AssemblyHash.cs
- Component.cs
- GetRecipientRequest.cs
- OleDbSchemaGuid.cs
- Domain.cs
- AsymmetricSignatureDeformatter.cs
- SqlDataReaderSmi.cs
- ClientCultureInfo.cs
- RuntimeHandles.cs
- ToolStripSplitStackLayout.cs
- AccessorTable.cs
- SymbolDocumentInfo.cs
- RadialGradientBrush.cs
- IDictionary.cs
- ModelUIElement3D.cs
- DataGridViewRow.cs
- DateTimePicker.cs
- HttpListenerResponse.cs
- BindingOperations.cs
- pingexception.cs
- SqlProcedureAttribute.cs
- SQLSingle.cs
- Matrix.cs
- CollectionViewGroupInternal.cs
- DbgUtil.cs
- NumberSubstitution.cs
- ColorConvertedBitmap.cs
- ClientConvert.cs
- UIServiceHelper.cs
- TableChangeProcessor.cs
- ConfigXmlText.cs
- ProcessHostConfigUtils.cs
- Size3D.cs
- URIFormatException.cs
- Properties.cs
- ExpressionBuilderContext.cs