Property: CurrentMode

(TBarcodeFmx2D_Code16K)

Contains the factual initial mode of a Code 16K barcode symbol.

Syntax:

type

{ Defined in the pfmxCode16K unit }

TCode16K_EncodeMode = (emAuto, emModeA, emModeB, emModeC, emModeB_FNC1, emModeC_FNC1, emModeC_Shift1B, emModeC_Shift2B, emMode_Extended);

property CurrentMode: TCode16K_EncodeMode;

Description:

Read the property to retrieve the factual initial mode of a Code 16K barcode symbol. It can be one of these values: emModeA, emModeB, emModeC, emModeB_FNC1, emModeC_FNC1, emModeC_Shift1B, emModeC_Shift2B, and emMode_Extended, corresponding to the initial modes 0 to 6, and extended data length mode. They are defined in the pfmxCode16K unit.

If the InitialMode property is set to emAuto, the initial mode will be selected automatically, depending on the barcode text in order to minimize the symbol size. It can be one of these value: emModeA, emModeB, emModeC, emModeB_FNC1, emModeC_FNC1, emModeC_Shift1B, or emModeC_Shift2B. You can read this property to get the factual initial mode.

If the InitialMode property isn't set to emAuto, the value of this property is equal to the value of InitialMode property.

The property is read only.

See also the "Initial modes" section in the "TBarcodeFmx2D_Code16K" article.

Contents