BARCODEWRITEQR

typedef struct _tagBARCODEWRITEQR 
{ 
   L_UINT uStructSize; 
   L_UINT32 ulFlags; 
   L_INT nGroupNumber; 
   L_INT nGroupTotal; 
   L_INT nEccLevel; 
   L_INT nXModule; 
} BARCODEWRITEQR, * pBARCODEWRITEQR; 

The BARCODEWRITEQR structure contains write information for QR symbols.

Member Description
uStructSize Size of this structure in bytes.  Use the sizeof() macro to calculate this value.
ulFlags Flags that indicate how to justify the QR symbol. You can combine values when appropriate, by using a bitwise OR ( | ).  Possible values are:
  Value Meaning
  BARCODE_JUSTIFY_RIGHT [0x1000] Justify the QR symbol to the right side of the bitmap.
  BARCODE_JUSTIFY_H_CENTER [0x2000] Justify the QR symbol in the horizontal center of the bitmap.
  BARCODE_JUSTIFY_BOTTOM [0x4000] Justify the QR symbol to the bottom side of the bitmap.
  BARCODE_JUSTIFY_V_CENTER [0x8000] Justify the QR symbol in the vertical center of the bitmap.
nGroupNumber Specifies a group of QR Code symbols. The maximum number of symbols in a group is 16.
nGroupTotal Specifies the total number of QR Code symbols. The maximum number of symbols in a group is 16.
nEccLevel ECC level of QR Code symbol to write.  Possible values are:
  Value Meaning
  BARCODE_QR_ECC_L [0] QR Code ECC Level 'L', lowest capability.
  BARCODE_QR_ECC_M [1] QR Code ECC Level 'M', standard capability.
  BARCODE_QR_ECC_Q [2] QR Code ECC Level 'Q', high reliability.
  BARCODE_QR_ECC_H [3] QR Code ECC Level 'H', maximum reliability.
nXModule Specifies the size of the written QR barcode in 0.001 inches. If the value is too small, a minimum of 5 pixels will be used.

Comments

pBARCODEWRITEQR is a pointer to a BARCODEWRITEQR structure. Where the function parameter type is pBARCODEWRITEQR, you can declare a BARCODEWRITEQR variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pBARCODEWRITEQR variable is necessary only if your program requires a pointer.

The QR standard specifies 40 different sizes of the QR code and the maximum data capacity will vary depending on the size and Error Correction level. The table below lists the maximum data capacity for each ECC level and encoding scheme.

For a table containing information useful when writing QR barcode data see: https://www.leadtools.com/sdk/barcode/qr-chart.

Help Version 20.0.2018.2.22
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Barcode C++ Class Library Help