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

Writes barcode as PDF into a memory-block
.

Parameters:
[in]pBarCodePointer to barcode structure.
[in]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 [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.