ImageExportOptions.TextRenderingMode Property
Specifies the quality of text rendering in images (especially in images having small DPI values and a transparent background).
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v25.2.Core.dll
NuGet Package: DevExpress.Printing.Core
Declaration
[DefaultValue(TextRenderingMode.SystemDefault)]
public TextRenderingMode TextRenderingMode { get; set; }
Property Value
| Type | Default | Description |
|---|---|---|
| TextRenderingMode | SystemDefault | A TextRenderingMode enumeration value. |
Available values:
| Name | Description |
|---|---|
| SystemDefault | The system default rendering is used. |
| SingleBitPerPixelGridFit | Glyph bitmaps and hinting are used. |
| SingleBitPerPixel | Glyph bitmaps without hinting are used. |
| AntiAliasGridFit | Antialiased glyph bitmaps and hinting are used. |
| AntiAlias | Antialiased glyph bitmaps without hinting is used. |
| ClearTypeGridFit | ClearType glyph bitmaps and hinting are used. |
Property Paths
You can access this nested property as listed below:
| Object Type | Path to TextRenderingMode |
|---|---|
| ExportOptions |
|
Remarks
The TextRenderingMode property may help you improve the quality of resulting images in certain scenarios.