Enum EmfPlusTextRenderingHint

EmfPlusTextRenderingHint enumeration

The TextRenderingHint enumeration defines types of text hinting and anti-aliasing, which affects the quality of text rendering.

public enum EmfPlusTextRenderingHint : byte

Values

NameValueDescription
TextRenderingHintSystemDefault0Specifies that each text character SHOULD be drawn using whatever font-smoothing settings have been configured on the operating system.
TextRenderingHintSingleBitPerPixelGridFit1Specifies 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.
TextRenderingHintSingleBitPerPixel2Specifies that each text character SHOULD be drawn using its glyph bitmap. Smoothing is not used.
TextRenderingHintAntialiasGridFit3Specifies 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.
TextRenderingHintAntialias4Specifies 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.
TextRenderingHintClearTypeGridFit5Specifies 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