TBarCode Library 11 TBarCode Library 11

◆ BCSetColorBk()

ERRCODE 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.

© 2026 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on for TBarCode Library 11 with doxygen 1.15.0