(TBarcodeFmx2D_QRCode)
Specifies the maximum symbol version (symbol size) for a QR Code barcode symbol.
type
{ Defined in the pfmxQRCode unit }
TQRCode_Version = 1..40;
property MaxVersion: TQRCode_Version;
The property specifies the maximum symbol version (symbol size) for a QR Code barcode symbol. It can be one of values from 1 to 40. They are defined in the pfmxQRCode unit.
The smallest symbol version (symbol size) that accommodates the barcode text will be automatically selected between the minimum symbol version (symbol size) specified by the MinVersion property and the maximum symbol version (symbol size) specified by this property.
If the barcode text is so long that it cannot be encoded using the maximum symbol version (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 CurrentVersion property can be used to get the factual symbol version (symbol size).
Note, if the property is set to a value less than the MinVersion property's value, the MinVersion property will be automatically changed to equal to this property's value. In other words, the MaxVersion property's value is always greater than or equal to the MinVersion property's value.
See also the "Symbol sizes" section in the "TBarcodeFmx2D_QRCode" article.