TBarCode Library 11  TBarCode Library 11
ERRCODE _stdcall BCSetDisplayTextA ( t_BarCode pBarCode,
LPCSTR  szText 
)

Sets the content of the currently active text object (usually the human readable text).

Note:
BCSetDisplayText can be used to override the human readable text which normally would contain the bar code content (only if the human readable text is currently active).
The currently active text object can be selected by calling BCSetActiveTextIndex().
See also:
BCGetDisplayText(), BCSetTextAlignment(), BCSetActiveTextIndex()
Parameters:
[in]pBarCodePointer to barcode structure.
[in]szTextDisplay text (reset to default: null).
Return values:
ERRCODEErrOk (0) in case of success. Non-zero if error occurred.