ChartDirector 6.2 (.NET Edition)

Chart.CColor2


Usage

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

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.