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

Sets the color the of barcode.

Specifies the color of the bars (or dots) of the barcode.

See also:
BCGetColorBC()
Deprecated:
Handling of color values has been enhanced. Use BCSetBarcodeColorGDI(), BCSetBarcodeColorRGB(), BCSetBarcodeColorCMYK(), or BCSetBarcodeColorGray() instead.
Parameters:
[in]pBarCodePointer to barcode structure
[in]colorRGB color value
Return values:
ERRCODEErrOk (0) in case of success. Non-zero if error occurred.