Property: MinColumns


Specifies the minimum number of columns for a PDF417 barcode symbol.



{ Defined in the pPDF417Custom unit }

TPDF417_Columns = 1 .. 30;

property MinColumns: TPDF417_Columns;


The property specifies the minimum number of columns for a PDF417 barcode symbol. It can be one of values from 1 to 30, they are defined in the pPDF417Custom unit.

The minimum number of columns together with the minimum number of stacked rows (specified by the MinRows property) indicates the minimum symbol size for a PDF417 barcode symbol. And the maximum number of columns (specified by the MaxColumns property) together with the maximum number of stacked rows (specified by the MaxRows property) indicates the maximum 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.

The CurrentColumns property can be used to get the factual number of columns.

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

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