ClearTypeHint 列舉

定義

列舉,可對呈現引擎指定提示,提示可以用 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
繼承
ClearTypeHint

欄位

Auto 0

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

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.

適用於

另請參閱