Property: CurrentEncodeMode

(TBarcode2D_DataMatrix)

Contains the factual data encoding mode of a Data Matrix (ECC 000 - 140) barcode symbol.

Syntax:

type

{ Defined in the pDataMatrix unit }

TDataMatrix_EncodeMode = (emAuto, emNumeric, emAlpha, emPunctuation, emAlphanumeric, emASCII, emBinary);

property CurrentEncodeMode: TDataMatrix_EncodeMode;

Description:

Read the property to retrieve the factual data encoding mode of a Data Matrix (ECC 000 - 140) barcode symbol. It can be one of these values: emNumeric, emAlpha, emPunctuation, emAlphanumeric, emASCII, and emBinary, corresponding to the Numeric (Base 11), Alpha (Base 27), Punctuation (Base 37), Alphanumeric (Base 41), ASCII, and Binary encoding modes. They are defined in the pDataMatrix unit.

If the EncodeMode property is set to emAuto, the data encoding mode will be selected automatically, depending on the barcode text in order to minimize the symbol size. It can be one of these value: emNumeric, emAlpha, emPunctuation, emAlphanumeric, emASCII, and emBinary. You can read this property to get the factual data encoding mode.

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

The property is read only.

See also the "Encoding modes" section in the "TBarcode2D_DataMatrix" article.

Contents