System.Drawing.Text.TextRenderingHint Enumeration

Specifies the quality of text rendering.

Syntax

public enum TextRenderingHint

Remarks

The quality ranges from text (fastest performance, but lowest quality) to antialiased text (better quality, but slower performance) to ClearType text (best quality on an LCD display).

Members

Member NameDescription
AntiAlias

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

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

ClearTypeGridFit

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

SingleBitPerPixel

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

SingleBitPerPixelGridFit

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

SystemDefault

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.

Requirements

Namespace: System.Drawing.Text
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0