Back to Devexpress

ImageExportOptions.TextRenderingMode Property

corelibraries-devexpress-dot-xtraprinting-dot-imageexportoptions-d43c5ad0.md

latest2.4 KB
Original Source

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

csharp
[DefaultValue(TextRenderingMode.SystemDefault)]
public TextRenderingMode TextRenderingMode { get; set; }
vb
<DefaultValue(TextRenderingMode.SystemDefault)>
Public Property TextRenderingMode As TextRenderingMode

Property Value

TypeDefaultDescription
TextRenderingModeSystemDefault

A TextRenderingMode enumeration value.

|

Available values:

NameDescription
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 TypePath to TextRenderingMode
ExportOptions

.Image .TextRenderingMode

|

Remarks

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

See Also

RetainBackgroundTransparency

ImageExportOptions Class

ImageExportOptions Members

DevExpress.XtraPrinting Namespace