The BARCODEWRITEAZTEC structure contains information for writing Aztec symbols.
|uStructSize||Size of this structure in bytes. Use the sizeof() macro to calculate this value.|
|ulFlags||Reserved for future use.|
|nXModule||Specifies the module size of the printed AZTEC barcode, in 0.001 inches. The module size = (the value of nXModule) X (the number of Modules in each row). The module is a "cell" that is used to make the symbol's grid. In the middle of the symbol is a set of concentric squares (used to orient the symbol), at the center of which is a single, black "module".|
Specifies which symbol size to use when writing an Aztec barcode. The following values are possible:
The default value is BARCODE_AZTEC_CODE, which allows the function to choose the smallest value that can contain the complete input message.
|ErrorCorrectionRate||Specifies the error detection and correction rate (Reed-Solomon error encoding) when writing an Aztec barcode, in percent. Possible values range from 5% to 95%. The specification suggests that 23% be used. The ErrorCorrectionRate is the percentage of error correction codewords out of all codewords. The default value is 23%.|
|QuietZone||(Optional) Specifies the quiet zone value when writing an Aztec barcode. The default value is 0.|
|AztecRune||Specifies whether to write an Aztec Rune barcode.|
|TRUE||Write an Aztec Rune barcode.|
|FALSE||Write an Aztec barcode.|
|AztecRuneValue||Specifies the value to be encoded when writing an Aztec Rune barcode. Possible values range from 0 to 255.|
pBARCODEWRITEAZTEC is a pointer to a BARCODEWRITEAZTEC structure. Where the function parameter type is pBARCODEWRITEAZTEC, you can declare a BARCODEWRITEAZTEC variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pBARCODEWRITEAZTEC variable is necessary only if your program requires a pointer.
The smallest symbol size is 15 x 15 pixels. Sizes increase by increments of 4.
The AZTEC standard specifies 37 different sizes of the Aztec code (see the values for SymbolSize). The maximum data capacity varies, depending on the size and Error Correction level.
LEADTOOLS supports the ECI 000003 encodable character set: