Gets the Aztec barcode pattern matrix data.
void GetPatternData(short *Buffer, long *Size, short *Rows, short *Columns, VARIANT_BOOL *Result); |
Parameters
Buffer
Pointer to a buffer that receives the character stream ('1's and '0's) storing the Aztec barcode pattern matrix data row by row from the top left matrix corner, '1' indicates the black module and '0' indicates the white module.
If the method fails and the variable pointed to by Size returns the required buffer size, in 16-bit integers.
Size
[in/out] On input, specifies the size, in 16-bit integers, of the Buffer. On output, receives the size, in 16-bit integers, of the Aztec barcode pattern matrix ('1's and '0's).
Rows
A pointer to the variable that receives the number of the rows for the pattern matrix.
Columns
A pointer to the variable that receives the number of the columns for the pattern matrix..
Result
If the method succeeds, the value of the variable pointed to by Result is VARIANT_TRUE, otherwise the value is VARIANT_FALSE.
Remarks
You can use this method to obtain the Aztec barcode pattern matrix data and render the Aztec barcode onto any device such as the printer, only Data, HandleTilde, Mode and PreferredFormat properties affect the pattern matrix data output.
Based on the Orientation property value, rotate the pattern matrix accordingly before you render the Aztec barcode onto a device.