Property: MaxRows

(TBarcode2D_CCB)

Specifies the maximum number of stacked rows for the CC-B 2D component of an EAN.UCC composite barcode symbol.

Syntax:

type

{ Defined in the pCCB unit }

TCCB_Rows = (ccbRow_4, ccbRow_6, ccbRow_8, ccbRow_10, ccbRow_11, ccbRow_12, ccbRow_14, ccbRow_15, ccbRow_17, ccbRow_20, ccbRow_23, ccbRow_26, ccbRow_32, ccbRow_38, ccbRow_44);

property MaxRows: TCCB_Rows;

Description:

The property specifies the maximum number of stacked rows for a CC-B 2D component of an EAN.UCC composite barcode symbol. It can be one of these values: ccbRow_4, ccbRow_6, ccbRow_8, ccbRow_10, ccbRow_11, ccbRow_12, ccbRow_14, ccbRow_15, ccbRow_17, ccbRow_20, ccbRow_23, ccbRow_26, ccbRow_32, ccbRow_38, and ccbRow_44, corresponding to the number of stacked rows 4, 6, 8, 10, 11, 12, 14, 15, 17, 20, 23, 26, 32, 38 and 44. For example, the value ccbRow_44 denotations the maximum number of stacked rows is 44 rows. These values are defined in the pCCB unit. The CC-B is one of the three choices for the 2D component in a barcode symbol encoded in EAN.UCC composite barcode symbology.

The smallest number of stacked rows that accommodates the barcode text will be automatically selected between the minimum number of stacked rows (specified by the MinRows property) and the maximum number of stacked rows (specified by this property).

Note, only available number of stacked rows can be automatically selected between the range specified by the MinRows property and this property depending on the linear component of the EAN.UCC composite symbol (specified by the Linear property). They are listed in the following table:

Linear componentAvailiable number of stacked rows
UPC-E, UPC-E0, UPC-E1,
RSS-14 Stacked, RSS-14 Stacked Omnidirectional
ccbRow_8, ccbRow_11, ccbRow_14, ccbRow_17, ccbRow_20, ccbRow_23, ccbRow_26
EAN-8, RSS Limited ccbRow_6, ccbRow_8, ccbRow_10, ccbRow_12, ccbRow_15, ccbRow_20, ccbRow_26, ccbRow_32, ccbRow_38, ccbRow_44
UPC-A, EAN-13, EAN-128,
RSS-14 Standard, RSS-14 Truncated,
RSS Expanded, RSS Expanded Stacked
ccbRow_4, ccbRow_6, ccbRow_8, ccbRow_10, ccbRow_12, ccbRow_15, ccbRow_20, ccbRow_26, ccbRow_32, ccbRow_38, ccbRow_44

If the barcode text is so long that it cannot be encoded using the maximum number of stacked rows specified by this property, an OnInvalidLength (the barcode text is specified in the Barcode property) or an OnInvalidDataLength (only for Delphi/C++ Builder 2009 or later, and the barcode text is specified in the Data property) event will occur.

The CurrentRows property can be used to get the factual number of stacked rows.

Note, if the property is set to a value less than the MinRows property's value, the MinRows property will be automatically changed to equal to this property's value. In other words, the MaxRows property's value is always greater than or equal to the MinRows property's value.

See also the "Symbol size" section in the "TBarcode2D_CCB" article.

Contents