Property: MaxRows

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

Syntax:

type

{ Defined in the pPDF417Custom unit }

TPDF417_Rows = 3 .. 90;

property MaxRows: TPDF417_Rows;

Description:

The property specifies the maximum number of stacked rows for the CC-C 2D component of an EAN.UCC composite barcode symbol. It can be one of values from 3 to 90. They are defined in the pPDF417Custom unit. The CC-C is one of the three choices for the 2D component in a barcode symbol encoded in EAN.UCC composite barcode symbology. It's a variant of PDF417 symbol which begins with PDF417 codeword 920.

The maximum number of stacked rows together with the maximum number of columns (specified by the MaxColumns property) indicates the maximum symbol size for the CC-C 2D component of the EAN.UCC composite barcode symbol. And the minimum number of stacked rows (specified by the MinRows property) together with the minimum number of columns (specified by the MinColumns property) indicates the minimum symbol size for it. Based on the stretch order (specified by the StretchOrder property), the smallest symbol size that accommodates the barcode text will be automatically selected between the minimum symbol size and the maximum symbol size.

If the barcode text is so long that it cannot be encoded using the maximum symbol size, an OnInvalidLength 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_CCC" article.

Contents