英語で読む 編集

次の方法で共有


TextRenderingMode Enum

Definition

Defines the supported rendering modes for text.

C#
public enum TextRenderingMode
Inheritance
TextRenderingMode

Fields

Name Value Description
Auto 0

Text is rendered with the most appropriate rendering algorithm based on the layout mode that was used to format the text.

Aliased 1

Text is rendered with bilevel anti-aliasing.

Grayscale 2

Text is rendered with grayscale anti-aliasing.

ClearType 3

Text is rendered with the most appropriate ClearType rendering algorithm based on the layout mode that was used to format the text.

Remarks

The Grayscale anti-aliasing algorithm chooses the appropriate ClearType algorithm to get bitmap representations for the glyphs. The intensity of the red, green, and blue channels of a pixel of rendered text is the value of the green channel in the corresponding pixel of the bitmap representation of the glyph.

Applies to

製品 バージョン
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

See also