(TBarcode2D_HanXinCode)
Specifies which ECC level (error correction code level) will be used to increase strength of a Han Xin Code barcode symbol.
type
{ Defined in the pHanXinCode unit }
THanXinCode_EccLevel = (elLevel_1, elLevel_2, elLevel_3, elLevel_4);
property ECCLevel: THanXinCode_EccLevel;
The Han Xin Code symbology offers four levels of error correction, from L1 to L4 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 Han Xin Code barcode symbol. It can be one of these values (defined in the pHanXinCode unit):
elLevel_1: Indicates to use the ECC level L1. The recevory capacities (approx.) is 8%.
elLevel_2: Indicates to use the ECC level L2. The recevory capacities (approx.) is 15%.
elLevel_3: Indicates to use the ECC level L3. The recevory capacities (approx.) is 23%.
elLevel_4: Indicates to use the ECC level L4. The recevory capacities (approx.) is 30%.
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 "TBarcode2D_HanXinCode" article.