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.v20.2.Core.dll

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:

Library Object Type Path to TextRenderingMode
Cross-Platform Class Library ExportOptions
.Image.TextRenderingMode
WPF Controls ExportOptionsContainer
.Image.TextRenderingMode

Remarks

The TextRenderingMode property may help you improve the quality of resulting images in certain scenarios.

See Also