This documentation is archived and is not being maintained.

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 noteCaution

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.

Public classFontCollectionProvides a base class for installed and private font collections.
Public classInstalledFontCollectionRepresents the fonts installed on the system. This class cannot be inherited.
Public classPrivateFontCollectionProvides a collection of font families built from font files that are provided by the client application.

Public enumerationGenericFontFamiliesSpecifies a generic FontFamily object.
Public enumerationHotkeyPrefixSpecifies the type of display for hot-key prefixes that relate to text.
Public enumerationTextRenderingHintSpecifies the quality of text rendering.


Other Resources