Skip to main content

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.v24.1.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

[XtraSerializableProperty]
public TextRenderingMode TextRenderingMode { get; set; }

Property Value

Type Description
TextRenderingMode

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
.Image .TextRenderingMode

Remarks

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

See Also