.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

Code128Options.Charset Property

Gets or sets the charset type for the bar code.

Namespace: DevExpress.BarCodes

Assembly: DevExpress.Docs.v21.1.dll

Declaration

public Code128CharacterSet Charset { get; set; }

Property Value

Type Description
Code128CharacterSet

A Code128CharacterSet enumeration value that specifies a charset to be used.

Property Paths

You can access this nested property as listed below:

Object Type Path to Charset
BarCodeOptions
.Code128.Charset

Remarks

Use the Charset property to specify the set of symbols which can be used when setting the BarCode.CodeText property of a Code 128 bar code. If the characters specified in the CodeText property are not allowed by the charset, a Exception exception is thrown with the message “There are invalid characters in the text”.

Note

If the code text may contain any ASCII symbol, set the Charset property value to Code128CharacterSet.CharsetAuto.

See Also