Indicates which property of the TBarcode2D component the data field value will be applied to, in order to represent the barcode symbol from a data field of the current record of a dataset.
type
{ Defined in the pDBBarcode2D unit }
TBindProperty = (bpBarcode, bpData);
property BindProperty: TBindProperty;
The Barcode property of TBarcode2D component is of type string, for Delphi/C++ Builder 2009 or later, it is in fact an UnicodeString instead of AnsiString. In order to encode block of binary (bytes) data, we added a Data property, it is of type AnsiString.
When a TBarcode2D barcode component is linked to the TDBBarcode2D component, 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). The BindProperty property indicates which property of the TBarcode2D component the data field value will be applied to.
This property can be one of these values (defined in the pDBBarcode2D unit):
bpBarcode: The data field value will be applied to the Barcode property of the TBarcode2D barcode component.
bpData: The data field value will be applied to the Data property of the TBarcode2D barcode component.
The property is available only for the Delphi/C++ Builder 2009 or later.