Skip to main content
A newer version of this page is available.

XRCode128Generator.CharSet Property

Gets or sets the value specifying the charset type for the Code 128 bar code.

Namespace: DevExpress.XtraReports.UI.BarCode

Assembly: DevExpress.XtraReports.v20.2.dll

NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.Reporting.Core

Declaration

public Code128Charset CharSet { get; set; }

Property Value

Type Description
Code128Charset

One of the Code128Charset enumeration’s values specifying the charset used.

Remarks

Use this property to specify the set of symbols which can be used when setting the XRControl.Text property of a Code 128 bar code. If the characters specified in the Text property are not allowed by the charset, then the following error will be shown within the bar code:

Barcode - Using Barcodes 4

Note: To avoid this message appearing for any sequences of chars, set the CharSet property’s value to Code128Charset.CharsetAuto. In this case the char sequence is coded using all three character sets and it switches between them automatically when required.

See Also