Click or drag to resize
EmfPlusTextRenderingHint Enumeration
The TextRenderingHint enumeration defines types of text hinting and anti-aliasing, which affects the quality of text rendering.

Namespace: Aspose.Imaging.FileFormats.Emf.EmfPlus.Consts
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 21.05
Syntax
public enum EmfPlusTextRenderingHint
Members
  Member nameValueDescription
TextRenderingHintSystemDefault0 Specifies that each text character SHOULD be drawn using whatever font-smoothing settings have been configured on the operating system.
TextRenderingHintSingleBitPerPixelGridFit1 Specifies that each text character SHOULD be drawn using its glyph bitmap. Smoothing MAY be used to improve the appearance of character glyph stems and curvature.
TextRenderingHintSingleBitPerPixel2 Specifies that each text character SHOULD be drawn using its glyph bitmap. Smoothing is not used.
TextRenderingHintAntialiasGridFit3 Specifies that each text character SHOULD be drawn using its anti-aliased glyph bitmap with smoothing. The rendering is high quality because of anti-aliasing, but at a higher performance cost.
TextRenderingHintAntialias4 Specifies that each text character is drawn using its anti-aliased glyph bitmap without hinting. Better quality results from anti-aliasing, but stem width differences MAY be noticeable because hinting is turned off.
TextRenderingHintClearTypeGridFit5 Specifies that each text character SHOULD be drawn using its ClearType glyph bitmap with smoothing. This is the highest-quality text hinting setting, which is used to take advantage of ClearType font features.
See Also