Freigeben über


TextRenderingMode Enumeration

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Defines the supported rendering modes for text.

Namespace:  System.Windows.Media
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public Enumeration TextRenderingMode
public enum TextRenderingMode

Members

Member name Description
Auto Text is rendered with the most appropriate rendering algorithm based on the layout mode that was used to format the text.
Aliased Text is rendered with bilevel anti-aliasing.
Grayscale Text is rendered with grayscale anti-aliasing.
ClearType Text is rendered with the most appropriate ClearType rendering algorithm based on the layout mode that was used to format the text.

Version Information

Silverlight

Supported in: 5

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

See Also

Reference