Property: InitialSubSet

(TBarcode1D_Code128, TBarcode1D_EAN128)

Specifies an initial characters subset for a TBarcode1D_Code128 component or a TBarcode1D_EAN128 component.

Syntax:

type

{ Defined in the pCode128 unit }

TCode128SubSet = (cssSubAuto, cssSubSetA, cssSubSetB, cssSubSetC);

property InitialSubSet: TCode128SubSet;

Description:

The Code 128 and EAN-128 barcode symbologies can encode all 128 characters of ASCII character sets. This is done by switching between all 3 character subsets of Code 128:

Use the InitialSubSet property to specify a initial characters subset for a TBarcode1D_Code128 or TBarcode1D_EAN128 component. When the EncodeMode property is set to cemAuto, the characters subset will be automatically switched if a character is encountered that cannot be encoded by current characters subset. You need to manually insert the \a, \b, \c, or \s for switching the character subset if the EncodeMode property is set to cemManual.

The property can be one of these values (defined in the pCode128 unit):

You can always use the CurrentSubSet property to get the factual initial characters subset.

Contents