Help Center

CGpGraphics.GetTextRenderingHintmethod

Returns the text rendering mode currently set for this **Graphics** object.

GraphicsmethodCGpGraphics.incdocumented

Syntax

FUNCTION GetTextRenderingHint () AS TextRenderingHint

Description

Returns the text rendering mode currently set for this Graphics object.

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

  • Include file CGpGraphics.inc
  • Defined in AfxNova/CGpGraphics.inc:189
  • Documented in Graphics/GdiPlus Classes/CGpGraphics Classes.md
  • Topic: CGpGraphics Class