TdxBarCodeUPCESymbology Class
The UPC-E barcode symbology class.
Declaration
TdxBarCodeUPCESymbology = class(
TdxCustomBarCodeSymbology
)
Remarks
The UPC-E barcode symbology is a variation of UPC-A, which can be used to generate more compact barcodes by removing “extra” zeros. UPC-E barcodes are normally used on very small packages. Note that like the EAN8, EAN13, and UPC-A symbologies, the digit relative size for UPC-E barcodes is determined by the standard (i.e., the Style.Font.Size property 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 7 digits. The 8th digit (i.e., checksum) is calculated automatically. If the number of digits is less than 7, leading zeros are added to the resulting barcode.
This class does not introduce any new public members.
To enable the UPC-E generation mode, assign the TdxBarCodeUPCESymbology class name to the Properties.BarCodeSymbologyClassName property provided by the unbound and data-aware barcode controls.
The dxBarCodeUPCELeftQuietZoneSize and dxBarCodeUPCERightQuietZoneSize global constant values determine the UPC-E barcode’s left and right quiet zone sizes, respectively.