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

Writes barcode (SVG) into memory-block.

The origin of the coordinate space in SVG the is upper, left corner of a page. The positive y-axis points downwards.

See also:
BCSVGToMemoryExt()
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.