DXGraphics.TextRenderingHint Property
Gets or sets the text rendering mode.
Namespace: DevExpress.Drawing
Assembly: DevExpress.Drawing.v24.2.dll
NuGet Package: DevExpress.Drawing
#Declaration
public DXTextRenderingHint TextRenderingHint { get; set; }
#Property Value
Type | Description |
---|---|
DXText |
An enumeration value that indicates whether text renders with antialiasing. |
Available values:
Name | Description |
---|---|
System |
A glyph bitmap with system default rendering hint is used to draw each character. The text is drawn using font-smoothing settings the user has selected for the system. |
Single |
A glyph bitmap is used to draw each character. Hinting is used to improve character appearance on stems and curvatures. |
Single |
A glyph bitmap is used to draw each character. Hinting is not used. |
Anti |
An antialiased glyph bitmap with hinting is used to draw each character. Much better quality due to antialiasing, but at a higher performance cost. |
Anti |
An antialiased glyph bitmap without hinting is used to draw each character. Better quality due to antialiasing. Stem width differences may be noticeable because hinting is turned off. |
Clear |
A glyph Clear |