Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxBarCodeEAN13Symbology Class

The EAN13 barcode symbology class.

#Declaration

Delphi
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