TBarCode Library 11  TBarCode Library 11
ERRCODE _stdcall BCAIToMemory ( t_BarCode pBarCode,
VOID *  pHandle,
INT *  pnSize,
LPCRECT  pRect 
)

Writes barcode (Adobe Illustrator Format) into memory-block.

The origin of the coordinate space in AI format is the lower, left corner of a page. The positive y-axis points upwards. Format: Adobe Illustrator 7

See also:
BCAIToMemoryExt()
Parameters:
[in]pBarCodePointer to barcode structure.
[in,out]pHandlePointer to memory block.
[in,out]pnSizeSize of memory block as allocated. Contains required size after function call (including a terminating 0-byte).
[in]pRectBounding rectangle for barcode dimensions [1/1000 mm]. left / bottom must be zero, top / right specifies barcode dimensions [1/1000 mm].
Return values:
ERRCODEErrOk (0) in case of success. Non-zero if error occurred.