Skip to main content

Code128Charset Enum

Specifies the character set that is used to encode characters of the Code 128 bar code.

Namespace: DevExpress.XtraPrinting.BarCode

Assembly: DevExpress.Printing.v24.1.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

[ResourceFinder(typeof(ResFinder))]
[TypeConverter(typeof(EnumTypeConverter))]
public enum Code128Charset

Members

Name Description
CharsetA

Includes ASCII characters 00 to 95 (0-9, A-Z and control codes), special characters and FNC 1 (code that is used for special purposes).

CharsetB

Includes ASCII characters 32 to 127 (0–9, A–Z, a–z), special characters, and FNC 1 (code that is used for special purposes).

CharsetC

Includes ASCII digit strings (00-99) and FNC 1 (code that is used for special purposes).

CharsetAuto

Uses A, B and C character sets and switches between them automatically according to bar code text.

Related API Members

The following properties accept/return Code128Charset values:

Library Related API Members
Cross-Platform Class Library Code128Generator.CharacterSet
IntelligentMailPackageGenerator.CharacterSet
SSCCGenerator.CharacterSet
WPF Controls BarCodePropertyProvider.CharacterSet

Remarks

Use the Code128Charset enumeration’s values to set the Code128Generator.CharacterSet property. Each value of this enumeration (CharsetA, CharsetB, CharsetC) represents a character set that is used to encode a particular range of ASCII values. You can set the Code128Generator.CharacterSet property to CharsetAuto to use all character sets and switch between them automatically according to the bar code’s text.

See Also