Skip to main content

TdxBarCodeEAN13Symbology Class

The EAN13 barcode symbology class.

Declaration

TdxBarCodeEAN13Symbology = class(
    TdxCustomBarCodeSymbology
)

Remarks

EAN13 is based on the UPC-A standard. EAN13 barcodes can contain 13 digits, without any letters or any other characters. The last digit is a checksum. The digit relative size is determined by the EAN13 barcode standard (i.e., the Style.Font.Size property value has no effect on the displayed encoded text).

Barcode controls do not verify the length of the source text string. You need to check that the source text contains no more than 12 digits. The 13th digit (i.e., checksum) is calculated automatically. If the number of digits is less than 12, leading zeroes are added to the resulting barcode.

This class does not introduce any new public members.

To enable the EAN13 generation mode, assign the TdxBarCodeEAN13Symbology class name to the Properties.BarCodeSymbologyClassName property provided by the unbound and data-aware barcode controls.

The dxBarCodeEAN13LeftQuietZoneSize and dxBarCodeEAN13RightQuietZoneSize global constant values determine the EAN13 barcode’s left and right quiet zone sizes, respectively.

Inheritance

See Also