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
- XamlHostingSectionGroup.cs
- PrincipalPermission.cs
- TraceContextRecord.cs
- TreeIterators.cs
- AsymmetricSignatureDeformatter.cs
- PersonalizationStateQuery.cs
- JapaneseCalendar.cs
- SchemaConstraints.cs
- TextSimpleMarkerProperties.cs
- TrackBarRenderer.cs
- ClientScriptManager.cs
- AccessibleObject.cs
- PartialCachingAttribute.cs
- BufferAllocator.cs
- MediaPlayer.cs
- WmpBitmapDecoder.cs
- GuidConverter.cs
- PageThemeBuildProvider.cs
- DbConvert.cs
- CancellationTokenRegistration.cs
- WebPermission.cs
- ImmutableCollection.cs
- RoleManagerModule.cs
- StandardCommandToolStripMenuItem.cs
- WindowsRegion.cs
- _Events.cs
- ObjectPropertyMapping.cs
- _UriTypeConverter.cs
- Propagator.Evaluator.cs
- TreeNodeCollection.cs
- ConfigPathUtility.cs
- Pair.cs
- CompositionTarget.cs
- RSAOAEPKeyExchangeFormatter.cs
- StreamWriter.cs
- Permission.cs
- TaskExtensions.cs
- DataSourceSelectArguments.cs
- bidPrivateBase.cs
- IgnoreFlushAndCloseStream.cs
- FontStretch.cs
- UnmanagedMemoryStream.cs
- MailAddress.cs
- HttpStreamXmlDictionaryReader.cs
- ValidatingReaderNodeData.cs
- Point4DValueSerializer.cs
- SRef.cs
- MenuAutomationPeer.cs
- SpellCheck.cs
- TextEditorDragDrop.cs
- SingleQueryOperator.cs
- SoapSchemaImporter.cs
- ExtensionQuery.cs
- RichTextBoxContextMenu.cs
- ActiveXContainer.cs
- DataList.cs
- OpenFileDialog.cs
- DataSourceBooleanViewSchemaConverter.cs
- SMSvcHost.cs
- SimpleType.cs
- EncoderNLS.cs
- Route.cs
- XmlAttributes.cs
- Renderer.cs
- DelegateSerializationHolder.cs
- MarkedHighlightComponent.cs
- ListBoxItem.cs
- WorkflowService.cs
- HMACSHA384.cs
- RenderingEventArgs.cs
- ConfigXmlComment.cs
- WebPartExportVerb.cs
- TextBlock.cs
- PersistenceContextEnlistment.cs
- TableProviderWrapper.cs
- PathStreamGeometryContext.cs
- Utils.cs
- RouteData.cs
- HealthMonitoringSection.cs
- DeviceFilterEditorDialog.cs
- RightsManagementPermission.cs
- QilLiteral.cs
- TypeUsageBuilder.cs
- DragEvent.cs
- CaseInsensitiveComparer.cs
- XmlSchemaObjectTable.cs
- ItemsChangedEventArgs.cs
- ParseElementCollection.cs
- MaskedTextProvider.cs
- CodeGroup.cs
- EntityStoreSchemaFilterEntry.cs
- KnownBoxes.cs
- SqlRowUpdatedEvent.cs
- ValidationPropertyAttribute.cs
- HttpHandlerAction.cs
- HttpsTransportElement.cs
- HttpValueCollection.cs
- TextModifier.cs
- MachineKeyConverter.cs
- ToolStripSplitButton.cs