TBarCode Library 11 TBarCode Library 11

◆ BCGetColorFromMetaData()

COLORREF BCGetColorFromMetaData ( t_BarCode * pBarCode,
INT chMeta )

Converts a single meta character returned by BCGetMetaData into a corresponding color value.

If the given meta character is a placeholder for a color value, the corresponding RGB color value is returned. For all other meta characters the function returns the invalid color value BC_USEDEFAULT (0xFFFFFFFF)

See also
BCSetFuncDrawRow() BCGetMetaData()
Parameters
[in]pBarCodePointer to barcode structure.
[in]chMetaMeta character.
Return values
COLORREFa valid color value if meta character stands for a color value or otherwise BC_USEDEFAULT (0xFFFFFFFF)

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