TBarCode Library 11  TBarCode Library 11
ERRCODE _stdcall BCSetBkMode ( t_BarCode pBarCode,
LONG  nMode 
)

Sets background drawing mode.

Specifies whether the barcode background should be transparent or opaque. If set to transparent, no background color is used.

See also:
BCGetBkMode()
Parameters:
[in]pBarCodePointer to barcode structure.
[in]nModeBackground mode.
  • 1: Transparent
  • 2: Opaque (this is the default)
Return values:
ERRCODEErrOk (0) in case of success. Non-zero if error occurred.