ChartDirector 7.1 (.NET Edition)

Box.setBackground


Usage

[C#]public void setBackground(int color [, int edgeColor [, int raisedEffect ]]);
[VB]Public Sub setBackground(color As Integer [, edgeColor As Integer [, raisedEffect As Integer ]])

Description

Sets the background color, border color and 3D border effect of the box.

Arguments

ArgumentDefaultDescription
color(Mandatory)The background color of the box.
edgeColor-1The border color of the box.
raisedEffect0The 3D border width. For positive values, the border will appear raised. For negative values, the border will appear depressed. A zero value means the border will appear flat. This argument can also be used to specify Chart.glassEffect, Chart.softLighting, Chart.cylinderEffect or Chart.flatBorder effects.

Return Value

None