TBarCode Library 11  TBarCode Library 11
ERRCODE _stdcall BCSetFuncDrawRow ( t_BarCode pBarCode,
fn_DrawRow  fn 
)

Sets the callback function for drawing a single row of a barcode.

This function redirects the drawing of a single barcode row (one row for linear barcodes, multiple rows for 2D and stacked codes) to your own custom drawwing function. The specified function will be called by BCDraw() instead of the built-in row drawing function. Default: No callback function is used.
Use this function to implement your custom drawing routines for specialized output requirements.

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