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.v21.2.dll


public Code128Charset CharSet { get; set; }

Property Value

Type Description

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


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