TextRenderingMode TextRenderingMode TextRenderingMode TextRenderingMode Enum

定義

為文字定義支援的呈現模式。Defines the supported rendering modes for text.

public enum class TextRenderingMode
public enum TextRenderingMode
type TextRenderingMode = 
Public Enum TextRenderingMode
繼承
TextRenderingModeTextRenderingModeTextRenderingModeTextRenderingMode

欄位

Aliased Aliased Aliased Aliased 1

使用雙層消除鋸齒呈現文字。Text is rendered with bilevel anti-aliasing.

Auto Auto Auto Auto 0

根據格式化文字時所用的配置模式,使用最適當的呈現演算法呈現文字。Text is rendered with the most appropriate rendering algorithm based on the layout mode that was used to format the text.

ClearType ClearType ClearType ClearType 3

根據格式化文字時所用的配置模式,使用最適當的 ClearType 呈現演算法呈現文字。Text is rendered with the most appropriate ClearType rendering algorithm based on the layout mode that was used to format the text.

Grayscale Grayscale Grayscale Grayscale 2

使用灰階消除鋸齒呈現文字。Text is rendered with grayscale anti-aliasing.

備註

灰階消除鋸齒演算法會選擇適當的 ClearType 演算法,以取得圖像 (glyph) 的點陣圖表示法。The Grayscale anti-aliasing algorithm chooses the appropriate ClearType algorithm to get bitmap representations for the glyphs. 呈現之文字的像素的紅色、 綠色和藍色色頻的濃度會對應像素的圖像 (glyph) 點陣圖表示法中的綠色色頻值。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.

適用於

另請參閱