Property: MaxSize

(TBarcodeFmx2D_DataMatrixECC200)

Specifies the maximum symbol size for a Data Matrix (ECC 200) barcode symbol.

Syntax:

type

{ Defined in the pfmxDataMatrixEcc200 unit }

TDataMatrixEcc200_Size = (dmSize_10_10, dmSize_12_12, dmSize_14_14, dmSize_16_16, dmSize_18_18, dmSize_20_20, dmSize_22_22, dmSize_24_24, dmSize_26_26, dmSize_32_32, dmSize_36_36, dmSize_40_40, dmSize_44_44, dmSize_48_48, dmSize_52_52, dmSize_64_64, dmSize_72_72, dmSize_80_80, dmSize_88_88, dmSize_96_96, dmSize_104_104, dmSize_120_120, dmSize_132_132, dmSize_144_144, dmSize_8_18, dmSize_8_32, dmSize_12_26, dmSize_12_36, dmSize_16_36, dmSize_16_48);

property MaxSize: TDataMatrixEcc200_Size;

Description:

The property specifies the maximum symbol size for a Data Matrix (ECC 200) barcode symbol. It can be one of values from dmSize_10_10 to dmSize_16_48. These values denotation the number of rows and columns in every symbol size. For example, the symbol size value dmSize_16_36 denotations the Data Matrix (ECC 200) symbol size is 16 rows by 36 columns. These symbol size values are defined in the pfmxDataMatrixEcc200 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_DataMatrixECC200" article.

Contents