ClearTypeHint ClearTypeHint ClearTypeHint ClearTypeHint Enum

定義

列舉,可對呈現引擎指定提示,提示可以用 ClearType 來呈現文字。An enumeration that specifies a hint to the rendering engine that text can be rendered with ClearType.

public enum class ClearTypeHint
public enum ClearTypeHint
type ClearTypeHint = 
Public Enum ClearTypeHint
繼承
ClearTypeHintClearTypeHintClearTypeHintClearTypeHint

欄位

Auto Auto Auto Auto 0

呈現引擎會在可用 ClearType 時才使用。The rendering engine uses ClearType when it is possible. 如果加入透明度,則將對樹狀子目錄停用 ClearType。If opacity is introduced, ClearType is disabled for that subtree.

Enabled Enabled Enabled Enabled 1

呈現引擎將對目前樹狀子目錄重新啟用 ClearType。The rendering engine re-enables ClearType for the current subtree. 如果該樹狀子目錄加入透明度,則停用 ClearType。Where opacity is introduced in this subtree, ClearType is disabled.

備註

使用RenderOptions.ClearTypeHint附加屬性來控制如何呈現半透明的背景上的文字。Use the RenderOptions.ClearTypeHint attached property to control how text is rendered on a translucent background. 如需詳細資訊,請參閱RenderOptions.ClearTypeHintFor more information, see RenderOptions.ClearTypeHint.

適用於

另請參閱