Property: Barcode1D

Links a TBarcode1D component to the TDBBarcode1D component in order to represent the barcode symbol from a data field of the current record of a dataset.

Syntax:

property Barcode1D: TBarcode1D;

Description:

Use the Barcode1D property to specify a TBarcode1D component such as the TBarcode1D_Code39, the TBarcode1D_EAN13, and the TBarcode1D_ITF14, It will represent the barcode symbol from a data field (specified by the DataField property of the TDBBarcode1D component) of the current record of a dataset (specified by the DataSource property of the TDBBarcode1D component) to a TImage, TQRImage, or TQRGzImage control that's specified by the Image property of the TBarcode1D component.

For Delphi/C++ Builder 2007 or early, when a TBarcode1D barcode component is linked to the TDBBarcode1D component, except TBarcode1D_FIM, TBarcode1D_Patch, and TBarcode1D_OneCode components, the data field value will be applied to its Barcode property. If a TBarcode1D_FIM component is linked to the TDBBarcode1D component, The first character of the data field value will be applied to its FIMType property. If a TBarcode1D_Patch component is linked to the TDBBarcode1D component, The first character of the data field value will be applied to its PatchType property. If a TBarcode1D_OneCode component is linked to the TDBBarcode1D 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.

For Delphi/C++ Builder 2009 or later, the value of BindProperty property will indicate which property the data field value will be applied to. When a TBarcode1D barcode component is linked to the TDBBarcode1D component, except TBarcode1D_FIM, TBarcode1D_Patch, and TBarcode1D_OneCode components, if the BindProperty property is set to bpBarcode, the data field value will be applied to its Barcode property. If the BindProperty property is set to bpData, the data field value will be applied to its Data property. For the TBarcode1D_FIM component, if the BindProperty property is set to bpBarcode, the first character of the data field value will be applied to its FIMType property. If the BindProperty property is set to bpData, the data field value will be applied to its Data property (only first byte will be used). For the TBarcode1D_Patch component, if the BindProperty property is set to bpBarcode, the first character of the data field value will be applied to its PatchType property. If the BindProperty property is set to bpData, the data field value will be applied to its Data property (only first byte will be used). For the TBarcode1D_OneCode component, if the BindProperty property is set to bpBarcode, 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. If the BindProperty property is set to bpData, the data field value will be applied to its Data property (first 20 bytes are the tracking, it is right padded with zeroes to 20 bytes, then come the routing).

Contents