TBarCode Library 11  TBarCode Library 11
Customized Drawing (Callbacks)

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. More...
 
ERRCODE BCSetFuncDrawRow (t_BarCode *pBarCode, fn_DrawRow fn)
 Sets the callback function for drawing a single row of a barcode. More...
 
fn_DrawBar BCGetFuncDrawBar (t_BarCode *pBarCode)
 Gets call-back function for drawing a bar. More...
 
ERRCODE BCSetFuncDrawBar (t_BarCode *pBarCode, fn_DrawBar fn)
 Sets call-back function for drawing the bars of a barcode. More...
 
fn_DrawColoredBar BCGetFuncDrawColoredBar (t_BarCode *pBarCode)
 Gets call-back function for drawing a colored bar. More...
 
ERRCODE BCSetFuncDrawColoredBar (t_BarCode *pBarCode, fn_DrawColoredBar fn)
 Sets call-back function for drawing colored bars. More...
 
fn_DrawTextA BCGetFuncDrawTextA (t_BarCode *pBarCode)
 Gets call-back function for drawing a text Returns currently adjusted function pointer. More...
 
ERRCODE BCSetFuncDrawTextA (t_BarCode *pBarCode, fn_DrawTextA fn)
 Sets call-back function for drawing the human readable text of a barcode. More...
 
fn_DrawRing BCGetFuncDrawRing (t_BarCode *pBarCode)
 Gets call-back function for drawing a MaxiCode finder ring. More...
 
ERRCODE BCSetFuncDrawRing (t_BarCode *pBarCode, fn_DrawRing fn)
 Sets call-back function for drawing the MaxiCode finder rings. More...
 
fn_DrawHexagon BCGetFuncDrawHexagon (t_BarCode *pBarCode)
 Gets call-back function for drawing a MaxiCode hexagon. More...
 
ERRCODE BCSetFuncDrawHexagon (t_BarCode *pBarCode, fn_DrawHexagon fn)
 Sets call-back function for drawing the MaxiCode finder rings. More...
 
LPVOID BCGetCBData (t_BarCode *pBarCode)
 Gets the user-defined data that is passed to the callback functions. More...
 
VOID BCSetCBData (t_BarCode *pBarCode, LPVOID customData)
 Sets the user-defined data that is passed to the callback functions. More...
 
ERRCODE BCDrawCB (t_BarCode *pBarCode, HDC hDC, RECT *pRectBounding)
 Callback version of barcode draw function. More...
 
LPCSTR BCGetMetaDataA (t_BarCode *pBarCode)
 Returns meta-representation of a barcode. More...
 
COLORREF BCGetColorFromMetaData (t_BarCode *pBarCode, INT chMeta)
 Converts a single meta character returned by BCGetMetaData into a corresponding color value. More...
 

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 offic.nosp@m.e@te.nosp@m.c-it..nosp@m.com.

© 2023 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Wed Apr 10 2024 13:55:57 for TBarCode Library 11 with doxygen 1.9.1