Enum TextRenderingHint

Enum TextRenderingHint

Namespace: Aspose.Imaging
Assembly: Aspose.Imaging.dll (25.7.0)

Specifies the quality of text rendering.

public enum TextRenderingHint
   {
       SingleBitPerPixel = 0,
       Text = 1,
       AntiAliasGridFit = 2,
       AntiAlias = 3,
       ClearTypeGridFit = 4,
       HighQuality = 5,
       None = 9,
       GdiHighQuality = 20,
       GDI_QUALITY = 17,
       DraftPrinting = 24,
       CurrentSetting = 32767
   }

Fields

AntiAlias = 4

Each character is drawn using its antialiased glyph bitmap without hinting. Better quality due to antialiasing. Stem width differences may be noticeable because hinting is turned off.

AntiAliasGridFit = 3

Each character is drawn using its antialiased glyph bitmap with hinting. Much better quality due to antialiasing, but at a higher performance cost.

ClearTypeGridFit = 5

Each character is drawn using its glyph ClearType bitmap with hinting. The highest quality setting. Used to take advantage of ClearType font features.

SingleBitPerPixel = 2

Each character is drawn using its glyph bitmap. Hinting is not used.

SingleBitPerPixelGridFit = 1

Each character is drawn using its glyph bitmap. Hinting is used to improve character appearance on stems and curvature.

SystemDefault = 0

Each character is drawn using its glyph bitmap, with the system default rendering hint. The text will be drawn using whatever font-smoothing settings the user has selected for the system.

 English