Customized Drawing (Callbacks)
[Drawing and Saving Barcodes]

The standard functionality of TBarCode for drawing/saving barcodes may be customized with these call-back functions. More...

Functions

fn_DrawRow BCGetFuncDrawRow (t_BarCode *pBarCode)
 Gets call-back function for drawing a single row of a barcode.
ERRCODE BCSetFuncDrawRow (t_BarCode *pBarCode, fn_DrawRow fn)
 Sets the callback function for drawing a single row of a barcode.
fn_DrawBar BCGetFuncDrawBar (t_BarCode *pBarCode)
 Gets call-back function for drawing a bar.
ERRCODE BCSetFuncDrawBar (t_BarCode *pBarCode, fn_DrawBar fn)
 Sets call-back function for drawing the bars of a barcode.
fn_DrawText BCGetFuncDrawText (t_BarCode *pBarCode)
 Gets call-back function for drawing a text Returns currently adjusted function pointer.
ERRCODE BCSetFuncDrawText (t_BarCode *pBarCode, fn_DrawText fn)
 Sets call-back function for drawing the human readable text of a barcode.
LPVOID BCGetCBData (t_BarCode *pBarCode)
 Gets the user-defined data that is passed to the callback functions.
VOID BCSetCBData (t_BarCode *pBarCode, LPVOID customData)
 Sets the user-defined data that is passed to the callback functions.
ERRCODE BCDrawCB (t_BarCode *pBarCode, HDC hDC, RECT *pRect)
 Callback version of barcode draw function.
LPCSTR BCGetMetaData (t_BarCode *pBarCode)
 Returns meta-representation of a barcode.

Detailed Description

The standard functionality of TBarCode for drawing/saving barcodes may be customized with these call-back functions.

For simple barcode generating/barcode printing applications these call-back functions are not required.

Note:
: A valid license is required to test the callback functions. Callback functions are disabled without a valid license.
Temporary licenses for testing are available from mailto:barcode@tec-it.com.

© 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