WriteQRBarcode

Description

This method writes a QR Barcodewith the given parameters to a DIB. This method works for only 1, 8 and 24 bit per pixel images, where the color palette contains the black (RGB(0, 0, 0)) and white colours (RGB(255, 255, 255)). See the QR BarcodeProperties above. Before calling, this method must be called by the SetBarcodeArrayLength method to allocate a ByteArray, where the encoded string will be written into. Encoded string can be loaded into ByteArray by the method SetBarcodeArrayElementAt.

Syntax RetVal = [BiBwQR] WriteQRBarcode hDIB StartX StartY

Returns               RetVal       LONGLONG             Handle to the newly created DIB, or 0 on error. See QR BarcodeError Codes above.

Remarks             hDIB            LONGLONG            Handle of the input DIB.

                            StartX          Short                          Left/Top X coordinate of the QR Barcode to write.

                            StartY          Short                          Left/Top Y coordinate of the QR Barcode to write.

See Also              SetBarcodeArrayLength, SetBarcodeArrayElementAt