Event: OnInvalidDataLength

If you use the Delphi/C++ Builder 2009 or later, you can use the Data property to specify a barcode text in AnsiString format, and encode it into the barcode symbol. Or use the Data property to encode a block of binary (bytes) data into the barcode symbol (only for the TBarcode1D_Code128 and the TBarcode1D_EAN128 components). The event occurs when the length of the Data property is invalid.

Syntax:

type

{ Defined in the pBarcode1D unit }

TOnInvalidDataLength = procedure (Sender: TObject; Data: AnsiString) of object;

property OnInvalidDataLength: TOnInvalidDataLength;

Parameters:
Note:

Contents