How to use the barcode components
Usage:
  1. Put a TBarcode1D barcode component, such as the TBarcode1D_Code39, TBarcode1D_EAN13, and TBarcode1D_Code128 to your form.
  2. Put a TImage control to your form.
  3. Set the Image property of the barcode component to the TImage control.

    You can link single TImage control to multiple TBarcode1D components in order to display multiple barcode symbols in the TImage control (using the LeftMargin and TopMargin properties to specify the position for every barcode symbol).

Note:

If the barcode symbol isn't displayed, or it is wrong, please check whether the length of barcode text exceeds the maximum length limit, or whether there is any invalid character in the barcode text.

You can create the OnInvalidLength and OnInvalidDataLength (only for Delphi/C++ Builder 2009 or later) event handles to catch the invalid barcode length exception. And create the OnInvalidChar and OnInvalidDataChar (only for Delphi/C++ Builder 2009 or later) event handles to catch the invalid character in the barcode text.

Also, please check whether the TImage control is large enough to accommodate entire barcode symbol.

Contents