Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining

System.Drawing.Text Namespace

The System.Drawing.Text namespace provides advanced GDI+ typography functionality.

Basic graphics functionality is provided by the System.Drawing namespace. The classes in this namespace allow users to create and use collections of fonts.

Caution note Caution

Classes within the System.Drawing.Text namespace are not supported for use within a Windows or ASP.NET service. Attempting to use these classes from within one of these application types may produce unexpected problems, such as diminished service performance and run-time exceptions.

  Class Description
Public class FontCollection Provides a base class for installed and private font collections.
Public class InstalledFontCollection Represents the fonts installed on the system. This class cannot be inherited.
Public class PrivateFontCollection Provides a collection of font families built from font files that are provided by the client application.

  Enumeration Description
Public enumeration GenericFontFamilies Specifies a generic FontFamily object.
Public enumeration HotkeyPrefix Specifies the type of display for hot-key prefixes that relate to text.
Public enumeration TextRenderingHint Specifies the quality of text rendering.


Other Resources

© 2015 Microsoft