TBarCode Library 11  TBarCode Library 11
ERRCODE _stdcall BCSetColorFont ( t_BarCode pBarCode,
COLORREF  color 
)

Sets the color of the human readable text.

Used only when drawing of the human-readable text is activated (see BCSetPrintText())

See also:
BCGetColorFont(), BCSetPrintText()
Deprecated:
Handling of color values has been enhanced. Use BCSetFontColorGDI(), BCSetFontColorRGB(), BCSetFontColorCMYK(), or BCSetFontColorGray() instead.
Parameters:
[in]pBarCodePointer to barcode structure.
[in]colorRGB color value.
Return values:
ERRCODEErrOk (0) in case of success. Non-zero if error occurred.