ChartDirector 7.0 (ASP/COM/VB Edition)
ChartDirector.API.CColor
Usage
CColor(color)
Description
Converts an OLE_COLOR to a ChartDirector color.
ChartDirector represents ARGB colors using a web and HTML compatible format. For example, red is represented as FF0000, the same as used in HTML.
On the other hand, Windows ActiveX controls sometimes represent colors in OLE_COLOR format. For example, the Windows CommonDialog ActiveX control returns colors in OLE_COLOR format. This method converts an OLE_COLOR to ChartDirector's color format.
Arguments
Argument | Default | Description |
color | (Mandatory) | An OLE_COLOR. |
Return Value
A ChartDirector color.
© 2021 Advanced Software Engineering Limited. All rights reserved.