Property: Barcode2D

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

Syntax:

property Barcode2D: TBarcode2D;

Description:

Use the Barcode2D property to specify a TBarcode2D component such as the TBarcode2D_QRCode, the TBarcode2D_PDF417, and the TBarcode2D_RSS14. It will represent the barcode symbol from a data field (specified by the DataField property of the TDBBarcode2D component) of the current record of a dataset (specified by the DataSource property of the TDBBarcode2D component) to a TImage, TQRImage, or TQRGzImage control that's specified by the Image property of the TBarcode2D component.

When a TBarcode2D barcode component is linked to the TDBBarcode2D component, for Delphi/C++ Builder 2007 or early, the data field value will be applied to its Barcode property. For the Delphi/C++ Builder 2009 or later, the data field value will be applied to its Barcode or Data property, please use the BindProperty property to indicate which property the data field value will be applied to.

Contents