Property: CurrentECCLevel

(TBarcode2D_PDF417, TBarcode2D_CCC)

Contains the factual error correction code level of a PDF417 barcode symbol, or of the CC-C 2D component in an EAN.UCC composite barcode symbol.

Syntax:

type

{ Defined in the pPDF417Custom unit }

TPDF417_EccLevel = (elEcc_0, elEcc_1, elEcc_2, elEcc_3, elEcc_4, elEcc_5, elEcc_6, elEcc_7, elEcc_8, elEcc_Auto);

property CurrentECCLevel: TPDF417_EccLevel;

Description:

The property always contains the factual error correction code level of a PDF417 barcode symbol, or of the CC-C 2D component in an EAN.UCC composite barcode symbol. It can be one of values from elEcc_0 to elEcc_8, corresponding to error correction code level from ECC 0 to ECC 8. They are defined in the pPDF417Custom unit. The CC-C is one of the three choices for the 2D component in a barcode symbol encoded in EAN.UCC composite barcode symbology.

If the ECCLevelUpgrade property is set to true, the remaining data capacity of a PDF417 barcode symbol, or of the CC-C 2D component in an EAN.UCC composite 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.

If the ECCLevelUpgrade property is set to false, the error correction code level specified by the ECCLevel property will be used always. If the ECCLevel property is set to one of values from elECC_0 to elECC_8, the value of this property is always equal to the value of the ECCLevel property. If the ECCLevel property is set to elEcc_Auto, the value of this property is the recommended minimum ECC level, depending on the length of barcode text.

The property is read only.

See also the "Error checking and correcting (ECC)" section in the "TBarcode2D_PDF417" and "TBarcode2D_CCC" articles.

Contents