(TBarcodeFmx2D_PDF417)
Specifies the maximum number of columns for a PDF417 barcode symbol.
type
{ Defined in the pfmxPDF417Custom unit }
TPDF417_Columns = 1 .. 30;
property MaxColumns: TPDF417_Columns;
The property specifies the maximum number of columns for a PDF417 barcode symbol. It can be one of values from 1 to 30, they are defined in the pfmxPDF417Custom unit.
The maximum number of columns together with the maximum number of stacked rows (specified by the MaxRows property) indicates the maximum symbol size for a PDF417 barcode symbol. And the minimum number of columns (specified by the MinColumns property) together with the minimum number of stacked rows (specified by the MinRows property) indicates the minimum symbol size for the PDF417 barcode symbol. 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 (the barcode text is specified in the Barcode property) or an OnInvalidDataLength (the barcode text is specified in the Data property) event will occur.
The CurrentRows property can be used to get the factual number of rows.
Note, if the property is set to a value less than the MinColumns property's value, the MinColumns property will be automatically changed to equal to this property's value. In other words, the MaxColumns property's value is always greater than or equal to the MinColumns property's value.
See also the "Symbol size" section in the "TBarcodeFmx2D_PDF417" article.