編輯

共用方式為


System.Drawing.Text Namespace

Provides advanced GDI+ typography functionality.

Classes

FontCollection

Provides a base class for installed and private font collections.

InstalledFontCollection

Represents the fonts installed on the system. This class cannot be inherited.

PrivateFontCollection

Provides a collection of font families built from font files that are provided by the client application.

Enums

GenericFontFamilies

Specifies a generic FontFamily object.

HotkeyPrefix

Specifies the type of display for hot-key prefixes that relate to text.

TextRenderingHint

Specifies the quality of text rendering.

Remarks

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

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.

See also