TBarCode Library 11  TBarCode Library 11
ERRCODE _stdcall BCDraw ( t_BarCode pBarCode,
HDC  hDC,
RECT *  pRectBounding 
)

Draws barcode onto the given Windows device context.

Draws the barcode onto the given device context. The coordinates of the bounding rectangle defines the barcode dimensions. The coordinates passed in pRect are interpreted in the current mapping mode of the device context. No special coordinate mapping is performed.

See also:
BCDrawCB() for custom drawing functionality.
Note:
WINDOWS only
Parameters:
[in]pBarCodePointer to barcode structure.
[in]hDCDevice context handle.
[in]pRectBoundingBounding rectangle.
Return values:
ERRCODEErrOk (0) in case of success. Non-zero if error occurred.