Enum EmfPlusTextRenderingHint

Enum EmfPlusTextRenderingHint

Namespace: Aspose.Imaging.FileFormats.Emf.EmfPlus.Consts
Assembly: Aspose.Imaging.dll (25.2.0)

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

public enum EmfPlusTextRenderingHint : byte

Fields

TextRenderingHintAntialias = 4

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.

TextRenderingHintAntialiasGridFit = 3

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.

TextRenderingHintClearTypeGridFit = 5

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.

TextRenderingHintSingleBitPerPixel = 2

Specifies that each text character SHOULD be drawn using its glyph bitmap. Smoothing is not used.

TextRenderingHintSingleBitPerPixelGridFit = 1

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.

TextRenderingHintSystemDefault = 0

Specifies that each text character SHOULD be drawn using whatever font-smoothing settings have been configured on the operating system.