The BARCODEWRITEMICROQR structure contains information for writing MicroQR symbols.
Size of this structure in bytes. Use the sizeof() operator to calculate this value.
Reserved for future use.
Specifies the size of the "modules" that make up the MICROQR 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. The default value is 10 pixels
Specifies which symbol size to use when writing a Micro QR barcode.
Value | Meaning |
---|---|
BARCODE_MICRO_QR_CODE | Micro QR Auto size |
BARCODE_MICRO_QR_CODE_M1 | Micro QR M1 |
BARCODE_MICRO_QR_CODE_M2_L | Micro QR M2 with error correction level L |
BARCODE_MICRO_QR_CODE_M2_M | Micro QR M2 with error correction level M |
BARCODE_MICRO_QR_CODE_M3_L | Micro QR M3 with error correction level L |
BARCODE_MICRO_QR_CODE_M3_M | Micro QR Model 3M with error correction level M |
BARCODE_MICRO_QR_CODE_M4_L | Micro QR M4 with error correction level L |
BARCODE_MICRO_QR_CODE_M4_M | Micro QR M4 with error correction level M |
BARCODE_MICRO_QR_CODE_M4_Q | Micro QR M4 with error correction level Q |
pBARCODEWRITEMICROQR is a pointer to a BARCODEWRITEMICROQR structure. Where the function parameter type is pBARCODEWRITEMICROQR, you can declare a BARCODEWRITEMICROQR variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pBARCODEWRITEMICROQR variable is necessary only if your program requires a pointer.
The Micro QR barcode is a smaller version of the QR code, used when working with severe space constraints.
The MICROQR standard specifies 4 different sizes of the MICROQR code. The maximum data capacity will vary, depending on the size and Error Correction level.
Version | Error Correction Level | Numeric | Alphanumeric | Byte | Kanji |
---|---|---|---|---|---|
M1 | Detection only | 5 | - | - | - |
M2 | L | 10 | 6 | - | - |
M2 | M | 8 | 5 | - | - |
M3 | L | 23 | 14 | 9 | 6 |
M3 | M | 18 | 11 | 7 | 4 |
M4 | L | 35 | 21 | 15 | 9 |
M4 | M | 30 | 18 | 13 | 8 |
M4 | Q | 21 | 13 | 9 | 5 |