ERRCODE BCBitmapToMemory ( t_BarCode pBarCode,
VOID *  pHandle,
LPCSTR  pszFormat,
INT *  pnSize,
LPCRECT  pRect 
)

Writes barcode in an image format to memory block.

All barcodes (except MAXICODE) are supported. Text output is not supported.

Parameters:
[in] pBarCode Pointer to barcode structure.
[in] pHandle Pointer to memory block.
[in] pszFormat The image format ("BMP" , "GIF", "JPG" , "PNG" or "TIF")
[in,out] pnSize Size of memory block as allocated. Contains required size after function call.
[in] pRect Bounding rectangle for barcode dimensions [1/1000 mm]. (left, top) is the upper left corner of the barcode; must be (0, 0). (right, bottom) is the lower right corner of the barcode; (width, height).
Return values:
ERRCODE ErrOk (0) in case of success. Non-zero if error occurred.
See also:
BCBitmapToFile()


© 2006 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Thu Dec 7 13:38:28 2006 for TEC-IT TBarCode Library 7.0.4 with doxygen 1.4.7