ChartDirector 7.1 (.NET Edition)

Chart.fromWPFColor2


Usage

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

Description

Converts an array of System.Windows.Media.Color objects to an array of ChartDirector colors.

This function is similar to Chart.fromWPFColor, but operate on an array of System.Windows.Media.Color objects instead of a single System.Windows.Media.Color object.

Arguments

ArgumentDefaultDescription
colors(Mandatory)An array of System.Windows.Media.Color objects.

Return Value

An array of ChartDirector colors.