Specifies the parameters used when creating a 2D barcode.
Declaration:
typedef struct tagBX\_CreateParameters2D {
long Rows;
long Columns;
long ErrorCorrectionLevel;
} BX\_CreateParameters2D;
Members:
Name | Type | Description |
---|---|---|
Rows | long | Specifies the number of rows to create. Set this to -1 to let the writer automatically choose the number of rows. |
Columns | long | Specifies the number of columns to create. Set this to -1 to let the writer automatically choose the number of columns. |
ErrorCorrectionLevel | long | Specifies the amount of error correction to use for barcodes that support it. Error correction is valid for QR barcodes and PDF417 barcodes. The error correction level for the QR Code ranges from a low of -1 to a high of 3. A high error correction level should be used in application where symbol damage is expected. The error correction level for the PDF417 ranges from a low of -1 (2 code words of error correction) to a high of 8 (512 code words of error correction). A high error correction level should be used in application where symbol damage is expected. A -1 value indicates that the barcode writer chooses the best error correction level based on the number of code words in the data stream. |