Property: Linear

(TBarcode2D_CCA, TBarcode2D_CCB, TBarcode2D_CCC)

Specifies a linear component for current 2D barcode component in order to generate the EAN.UCC composite barcode symbol.

Syntax:

property Linear: TComponent;

Description:

Specifies a linear component for current 2D barcode component (the TBarcode2D_CCA, TBarcode2D_CCB, or TBarcode2D_CCC) so that the 2D barcode component together with the linear component generates the EAN.UCC composite barcode symbol.

For the TBarcode2D_CCA and the TBarcode2D_CCB 2D barcode components, the TBarcode2D_RSS14, TBarcode2D_RSSLimted, and TBarcode2D_RSSExpanded can be used as their linear component. The TBarcode1D_UPCE, TBarcode1D_UPCE0, TBarcode1D_UPCE1, TBarcode1D_UPCA, TBarcode1D_ENA8, TBarcode1D_EAN13, and TBarcode1D_EAN128 that they are from the 1D Barcode VCL Components package can be used as their linear component too.

For the TBarcode2D_CCC 2D barcode component, only the TBarcode1D_EAN128 that's from the 1D Barcode VCL Components package can be used as its linear component. And only its Barcode, Data (only for Delphi/C++ Builder 2009 or later), AutoCheckDigit, CheckStart, CheckLength, InitialSubSet, Height, DisplayText, TextPosition, TextAlignment, TextFont, TextVSpacing, and the TextHSpacing properties are useful, the value of other properties will be ignored and they will be set automatically depending on the settings of the 2D barcode component (the Link2D property will be set to ldCCC automatically). The number of columns of the TBarcode2D_CCC barcode component will be changed automatically. In addition, the BarcodeHeight property should be set to a value larger than zero. And the Image property should not be normally set, the Image property's value of the 2D component will be used.

Contents