TBarCode Library 11 TBarCode Library 11
ERRCODE BCSetFuncDrawBar ( t_BarCode *  pBarCode,
fn_DrawBar  fn 
)

Sets call-back function for drawing the bars of a barcode.

these functions informs TBarCode that drawing of the bars (for linear barcodes) is done by the specified function.
Use this function to implement your custom drawing routines for specialized output requirements. Default: no callback function is used.

See also:
BCGetFuncDrawText()
Parameters:
[in]pBarCodePointer to barcode structure.
[in]fnCallback function.
Return values:
ERRCODEErrOk (0) in case of success. Non-zero if error occurred.