System.Drawing.Text Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈