Property: Barcode

Links a TBarcode component to the TDBBarcode component in order to represent the barcode symbol from a string field of the current record of a dataset.

Syntax:

property Barcode: TBarcode;

Description:

Use the Barcode property to specify a TBarcode component such as the TBarcode_Code39, the TBarcode_EAN13, and the TBarcode_ITF14, It will represent the barcode symbol from a string field (specified by the DataField property of the TDBBarcode component) of the current record of a dataset (specified by the DataSource property of the TDBBarcode component) to a TImage or a TQRImage control that's specified by the Image property of the TBarcode component.

When a TBarcode barcode component is linked to the TDBBarcode component, except the TBarcode_FIM and the TBarcode_OneCode components, the data field value will be applied to its Barcode property. If a TBarcode_FIM component is linked to the TDBBarcode component, The first character of the data field value will be applied to its FIMType property. If a TBarcode_OneCode component is linked to the TDBBarcode component, the data field value will applied to its Tracking and Routing properties, the first 20 characters are the Tracking (It is right padded with zeroes to 20 characters), then come the Routing.

Contents