Property: CurrentECCLevel

(TBarcode2D_HanXinCode)

Contains the factual error correction code level of a Han Xin Code barcode symbol.

Syntax:

type

{ Defined in the pHanXinCode unit }

THanXinCode_EccLevel = (elLevel_1, elLevel_2, elLevel_3, elLevel_4);

property CurrentECCLevel: THanXinCode_EccLevel;

Description:

The Han Xin Code symbology offers four levels of error correction, from L1 to L4 respectively in increasing order of recovery capacity. The property always contains the factual error correction code level of a Han Xin Code barcode symbol. It can be one of these values (defined in the pHanXinCode unit):

If the ECCLevelUpgrade property is set to true, the remaining data capacity of a Han Xin Code barcode symbol will be used to automatically upgrade the error correction code level, the highest error correction code level that can be accommodated by current symbol size will by used for creating more robust symbols. Read the property to retrieve the factual error correction code level of the Han Xin Code barcode symbol.

If the ECCLevelUpgrade property is set to false, the error correction code level specified by the ECCLevel property will be used always. The value of this property is always equal to the value of the ECCLevel property.

The property is read only.

See also the "Error checking and correcting (ECC)" section in the "TBarcode2D_HanXinCode" article.

Contents