EAN128Options.Charset Property
Gets or sets the character set used for encoding.
Namespace: DevExpress.Docs.Barcode
Assembly: DevExpress.Docs.Core.v26.1.dll
Declaration
Property Value
| Type | Description |
|---|---|
| Code128CharacterSet | The character set. |
Available values:
| Name | Description |
|---|---|
| CharsetA | The “A” character encodes barcodes using ASCII characters 00-95. |
| CharsetB | The “B” character set encodes barcodes using ASCII characters 32-127. |
| CharsetC | The “C” character encodes barcodes as digit pairs from 00 to 99. Each pair is encoded as a single code element, so the input must consist of digit pairs (for example, 01 23), not individual digits such as 123. |
| CharsetAuto | The character set is determined automatically according to the barcode text. |
Remarks
Use the Charset property to specify the symbol set allowed in barcode text. If the barcode data contains characters that are not allowed, a “There are invalid characters in the text” exception is thrown.