Property: MaxSize

(TBarcodeFmx2D_DataMatrix)

Specifies the maximum symbol size for a Data Matrix (ECC 000 - 140) barcode symbol.

Syntax:

type

{ Defined in the pfmxDataMatrix unit }

TDataMatrix_Size = (dmSize_09_09, dmSize_11_11, dmSize_13_13, dmSize_15_15, dmSize_17_17, dmSize_19_19, dmSize_21_21, dmSize_23_23, dmSize_25_25, dmSize_27_27, dmSize_29_29, dmSize_31_31, dmSize_33_33, dmSize_35_35, dmSize_37_37, dmSize_39_39, dmSize_41_41, dmSize_43_43, dmSize_45_45, dmSize_47_47, dmSize_49_49);

property MaxSize: TDataMatrix_Size;

Description:

The property specifies the maximum symbol size for a Data Matrix (ECC 000 - 140) barcode symbol. It can be one of values from dmSize_09_09 to dmSize_49_49. These values denotation the number of rows and columns in every symbol size. For example, the symbol size value dmSize_45_45 denotations the Data Matrix (ECC 000 - 140) symbol size is 45 rows by 45 columns. These symbol size values are defined in the pfmxDataMatrix unit.

The smallest symbol size that accommodates the barcode text will be automatically selected between the minimum symbol size specified by the MinSize property and the maximum symbol size specified by this property.

If the barcode text is so long that it cannot be encoded using the maximum symbol size specified by this property, 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 CurrentSize property can be used to get the factual symbol size.

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

See also the "Symbol sizes" section in the "TBarcodeFmx2D_DataMatrix" article.

Contents