TBarCode Library 11  TBarCode Library 11
colorapi.cpp File Reference

Public API functions to set barcode colors. More...

Functions

COLORREF _stdcall BCGetColorBC (t_BarCode *pBarCode)
 Gets the current barcode color.
ERRCODE _stdcall BCSetColorBC (t_BarCode *pBarCode, COLORREF color)
 Sets the color the of barcode.
COLORREF _stdcall BCGetColorBk (t_BarCode *pBarCode)
 Gets the current background color.
ERRCODE _stdcall BCSetColorBk (t_BarCode *pBarCode, COLORREF color)
 Sets the color of the barcode background.
COLORREF _stdcall BCGetColorFont (t_BarCode *pBarCode)
 Gets the current color of the human readable text.
ERRCODE _stdcall BCSetColorFont (t_BarCode *pBarCode, COLORREF color)
 Sets the color of the human readable text.
e_ColorMode _stdcall BCGetColorMode (const t_BarCode *pBarcode)
 Retrieves the color mode (CMYK, RGB, or Grayscale).
VOID _stdcall BCSetColorMode (t_BarCode *pBarcode, e_ColorMode mode)
 Sets the color mode (CMYK, RGB, or Grayscale).
VOID _stdcall BCSetBarcodeColorCMYK (t_BarCode *pBarcode, DOUBLE dCyan, DOUBLE dMagenta, DOUBLE dYellow, DOUBLE dBlack)
 Sets the color of the barcode.
VOID _stdcall BCGetBarcodeColorCMYK (const t_BarCode *pBarcode, DOUBLE *pdCyan, DOUBLE *pdMagenta, DOUBLE *pdYellow, DOUBLE *pdBlack)
 Retrieves the color of the barcode.
VOID _stdcall BCSetBarcodeColorGDI (t_BarCode *pBarcode, COLORREF color)
 Sets the color of the barcode.
VOID _stdcall BCGetBarcodeColorGDI (const t_BarCode *pBarcode, COLORREF *pColor)
 Retrieves the color of the barcode.
VOID _stdcall BCSetBarcodeColorGray (t_BarCode *pBarcode, DOUBLE dGray)
 Sets the color of the barcode.
VOID _stdcall BCGetBarcodeColorGray (const t_BarCode *pBarcode, DOUBLE *pdGray)
 Retrieves the color of the barcode.
VOID _stdcall BCSetBarcodeColorRGB (t_BarCode *pBarcode, DOUBLE dRed, DOUBLE dGreen, DOUBLE dBlue)
 Sets the color of the barcode.
VOID _stdcall BCGetBarcodeColorRGB (const t_BarCode *pBarcode, DOUBLE *pdRed, DOUBLE *pdGreen, DOUBLE *pdBlue)
 Retrieves the RGB color of the barcode.
VOID _stdcall BCGetFontColorCMYK (const t_BarCode *pBarcode, DOUBLE *pdCyan, DOUBLE *pdMagenta, DOUBLE *pdYellow, DOUBLE *pdBlack)
 Retrieves the font color of the currently active text object (usually the human readable text).
VOID _stdcall BCSetFontColorCMYK (t_BarCode *pBarcode, DOUBLE dCyan, DOUBLE dMagenta, DOUBLE dYellow, DOUBLE dBlack)
 Sets the font color of the currently active text object (usually the human readable text).
VOID _stdcall BCGetFontColorGDI (const t_BarCode *pBarcode, COLORREF *pColor)
 Sets the font color of the currently active text object (usually the human readable text).
VOID _stdcall BCSetFontColorGDI (t_BarCode *pBarcode, COLORREF color)
 Sets the font color of the currently active text object (usually the human readable text).
VOID _stdcall BCGetFontColorGray (const t_BarCode *pBarcode, DOUBLE *pdGray)
 Retrieves the font color of the currently active text object (usually the human readable text).
VOID _stdcall BCSetFontColorGray (t_BarCode *pBarcode, DOUBLE dGray)
 Sets the font color of the currently active text object (usually the human readable text).
VOID _stdcall BCGetFontColorRGB (const t_BarCode *pBarcode, DOUBLE *pdRed, DOUBLE *pdGreen, DOUBLE *pdBlue)
 Retrieves the font color of the currently active text object (usually the human readable text).
VOID _stdcall BCSetFontColorRGB (t_BarCode *pBarcode, DOUBLE dRed, DOUBLE dGreen, DOUBLE dBlue)
 Sets the font color of the currently active text object (usually the human readable text).
VOID _stdcall BCSetBackgroundColorCMYK (t_BarCode *pBarcode, DOUBLE dCyan, DOUBLE dMagenta, DOUBLE dYellow, DOUBLE dBlack)
 Sets the background color the of barcode.
VOID _stdcall BCGetBackgroundColorCMYK (const t_BarCode *pBarcode, DOUBLE *pdCyan, DOUBLE *pdMagenta, DOUBLE *pdYellow, DOUBLE *pdBlack)
 Retrieves the background color of the barcode.
VOID _stdcall BCSetBackgroundColorGDI (t_BarCode *pBarcode, COLORREF color)
 Sets the background color of the barcode.
VOID _stdcall BCGetBackgroundColorGDI (const t_BarCode *pBarcode, COLORREF *pColor)
 Retrieves the background color of the barcode.
VOID _stdcall BCSetBackgroundColorGray (t_BarCode *pBarcode, DOUBLE dGray)
 Sets the background color of the barcode.
VOID _stdcall BCGetBackgroundColorGray (const t_BarCode *pBarcode, DOUBLE *pdGray)
 Retrieves the background color of the barcode.
VOID _stdcall BCSetBackgroundColorRGB (t_BarCode *pBarcode, DOUBLE dRed, DOUBLE dGreen, DOUBLE dBlue)
 Sets the background color of the barcode.
VOID _stdcall BCGetBackgroundColorRGB (const t_BarCode *pBarcode, DOUBLE *pdRed, DOUBLE *pdGreen, DOUBLE *pdBlue)
 Retrieves the background color of the barcode.

Detailed Description

Public API functions to set barcode colors.

Required include file: "tbarcode.h"

Author:
TEC-IT Datenverarbeitung GmbH
Wagnerstr. 6, 4400 Steyr, AUSTRIA/EUROPE
https://www.tec-it.com
Copyright© by TEC-IT Datenverarbeitung GmbH