Property: ECCLevel

(TBarcodeFmx2D_QRCode)

Specifies which ECC level (error correction code level) will be used to increase strength of a QR Code barcode symbol.

Syntax:

type

{ Defined in the pfmxQRCode unit }

TQRCode_ECCLevel = (elLowest, elMedium, elQuality, elHighest);

property ECCLevel: TQRCode_ECCLevel;

Description:

The QR Code symbology offers four levels of error correction, referred to as L, M, Q and H respectively in increasing order of recovery capacity.

The property specifies which ECC level (error correction code level) will be used to increase strength of a QR Code barcode symbol. It can be one of these values (defined in the pfmxQRCode unit):

If the ECCLevelUpgrade property is set to true, the highest error correction code level that can be accommodated by current symbol size will by used for creating more robust symbols. Note, the new level is always no lower than the level specified by this property, and the symbol size will not be increased, it may be determined depending on the length of barcode text, and the error correction code level specified by this property. In other words, only the remaining capacity in current symbol size will be used to upgrade the error correction code level.

The CurrentECCLevel property can always be used to get the factual error correction code level.

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

Contents