TBarCode Library 11  TBarCode Library 11
ERRCODE _stdcall BCSetPrintText ( t_BarCode pBarCode,
BOOL  bReadable,
BOOL  bAbove 
)

Sets options concerning the currently active text (usually the human readable text).

Determines whether the currently active text should be printed and where it should be located (below or above the bar code).

Note:
The currently active text object can be selected by calling BCSetActiveTextIndex().
The parameter bAbove can only be applied to the human readable text and is ignored by the extra text objects.
See also:
BCGetPrintText(), BCGetTextAbove(), BCSetActiveTextIndex()
Parameters:
[in]pBarCodePointer to barcode structure.
[in]bReadablePrint human readable text.
  • true: Text is printed (this is the default)
  • false: Text is not printed
[in]bAbovePrint human readable text above barcode.
  • true: Text is printed above barcode
  • false: Text is printed below barcode (this is the default)
Return values:
ERRCODEErrOk (0) in case of success. Non-zero if error occurred.