ChartDirector 5.1 (.NET Edition)

Chart.CColor2


Usage

[VB] Public Shared Function CColor2(colors As System.Drawing.Color()) As Integer()
[C#] public static int[] CColor2(System.Drawing.Color[] colors);

Description

Converts an array of .NET System.Drawing.Color objects to an array of ChartDirector colors.

This function is similar to Chart.CColor, but operate on an array of .NET System.Drawing.Color objects instead of a single .NET System.Drawing.Color object.

Arguments

ArgumentDefaultDescription
colors(Mandatory)An array of .NET System.Drawing.Color objects.

Return Value

An array of ChartDirector colors.