WritePDF417Barcode

Description

This method writes a PDF-417 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 PDF-417 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 = [BiBwP417] WritePDF417Barcode hDIB StartX StartY

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

Remarks             hDIB            LONGLONG            Handle of the input DIB.

                            StartX          Short                          Left/Top X coordinate of the PDF-417 Barcode to write.

                            StartY          Short                          Left/Top Y coordinate of the PDF-417 Barcode to write.

See Also              SetBarcodeArrayLength, SetBarcodeArrayElementAt