ClearTypeHint Enum

Definition

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
Inheritance
ClearTypeHint

Fields

Name Value Description
Auto 0

The rendering engine uses ClearType when it is possible. If opacity is introduced, ClearType is disabled for that subtree.

Enabled 1

The rendering engine re-enables ClearType for the current subtree. Where opacity is introduced in this subtree, ClearType is disabled.

Remarks

Use the RenderOptions.ClearTypeHint attached property to control how text is rendered on a translucent background. For more information, see RenderOptions.ClearTypeHint.

Applies to

See also