Back to Devexpress

BarCode.TextRenderingHint Property

officefileapi-devexpress-dot-barcodes-dot-barcode-695fe7d0.md

latest2.3 KB
Original Source

BarCode.TextRenderingHint Property

Gets or sets the bar code text rendering quality.

Namespace : DevExpress.BarCodes

Assembly : DevExpress.Docs.v25.2.dll

NuGet Package : DevExpress.Document.Processor

Declaration

csharp
public DXTextRenderingHint TextRenderingHint { get; set; }
vb
Public Property TextRenderingHint As DXTextRenderingHint

Property Value

TypeDescription
DXTextRenderingHint

An enumeration value that indicates the quality of text rendering.

|

Available values:

NameDescription
SystemDefault

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.

| | SingleBitPerPixelGridFit |

A glyph bitmap is used to draw each character. Hinting is used to improve character appearance on stems and curvatures.

| | SingleBitPerPixel |

A glyph bitmap is used to draw each character. Hinting is not used.

| | AntiAliasGridFit |

An antialiased glyph bitmap with hinting is used to draw each character. Much better quality due to antialiasing, but at a higher performance cost.

| | AntiAlias |

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.

| | ClearTypeGridFit |

A glyph ClearType bitmap with hinting is used to draw each character. The highest quality setting. Used to take advantage of ClearType font features.

|

Remarks

By default, a bar code text is drawn with the Anti-Alias text smoothing settings. You can manually change the text quality rendering using the TextRenderingHint property.

See Also

BarCode Class

BarCode Members

DevExpress.BarCodes Namespace