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

Sets the color of the barcode background.

Specifies the background color of the barcode. This color is used to draw the spaces of the barcode when the BackStyle is set to OPAQUE.

See also:
BCGetColorBk(), BCSetBkMode()
Deprecated:
Handling of color values has been enhanced. Use BCSetBackgroundColorGDI(), BCSetBackgroundColorRGB(), BCSetBackgroundColorCMYK(), or BCSetBackgroundColorGray() instead.
Parameters:
[in]pBarCodePointer to barcode structure.
[in]colorRGB color value.
Return values:
ERRCODEErrOk (0) in case of success. Non-zero if error occurred.