ERRCODE BCDrawCB ( t_BarCode pBarCode,
HDC  hDC,
RECT *  pRect 
)

Callback version of barcode draw function.

Call this function instead of BCDraw() if you want to use your own drawing routines (e.g. for generating a barcode on special devices or in special output formats).

Note:
BCDrawCB() can be used only with a developer license. Sample code is available on request: support@tec-it.com

Call-backs are disabled in the demo-version of TBarCode. If you need to try it please contact TEC-IT for a temporary license key.

Parameters:
[in] pBarCode Pointer to barcode structure.
[in] hDC Device context handle (optional, Windows only).
[in] pRect Bounding rectangle.
Return values:
ERRCODE ErrOk (0) in case of success. Non-zero if error occurred.
See also:
BCGetFuncDrawRow(), BCSetFuncDrawRow(), BCGetFuncDrawBar(), BCSetFuncDrawBar(), BCGetFuncDrawText(), BCSetFuncDrawText(), BCGetCBData(), BCSetCBData()


© 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