(TBarcode2D_AztecCode)
Specifies the maximum symbol size for an Aztec Code barcode symbol.
type
{ Defined in the pAztecCode unit }
TAztecCode_Size = (azSize_15Compact, azSize_19, azSize_19Compact, azSize_23, azSize_23Compact, azSize_27, azSize_27Compact, azSize_31, azSize_37, azSize_41, azSize_45, azSize_49, azSize_53, azSize_57, azSize_61, azSize_67, azSize_71, azSize_75, azSize_79, azSize_83, azSize_87, azSize_91, azSize_95, azSize_101, azSize_105, azSize_109, azSize_113, azSize_117, azSize_121, azSize_125, azSize_131, azSize_135, azSize_139, azSize_143, azSize_147, azSize_151);
property MaxSize: TAztecCode_Size;
The property specifies the maximum symbol size for an Aztec Code barcode symbol. It can be one of values from azSize_15Compact to azSize_151. These values denotation the symbol format, number of rows and columns in every symbol size. For example, the symbol size value azSize_91 denotations the Aztec Code symbol size is 91 rows by 91 columns, not in compact format. These symbol size values are defined in the pAztecCode 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 (only for Delphi/C++ Builder 2009 or later, and 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 "TBarcode2D_AztecCode" article.