Help Center

TextRenderingHintfunction

Specifies the process used to render text. The process affects the quality of the text.

Graphicsfunctiondoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Parameters

NameDescription
TextRenderingHintSystemDefault0
TextRenderingHintSingleBitPerPixelGridFit1
TextRenderingHintSingleBitPerPixel2
TextRenderingHintAntiAliasGridFit3
TextRenderingHintAntiAlias4
TextRenderingHintClearTypeGridFit5

Description

The TextRenderingHint enumeration specifies the process used to render text. The process affects the quality of the text.

Remarks

The quality associated with each process varies according to the circumstances. TextRenderingHintClearTypeGridFit provides the best quality for most LCD monitors and relatively small font sizes. TextRenderingHintAntiAlias provides the best quality for rotated text. Generally, a process that produces higher quality text is slower than a process that produces lower quality text.

Reference