ChartDirector 5.1 (.NET Edition)

ColorAxis.setBoxMargin2


Usage

[VB] Public Sub setBoxMargin2(leftMargin As Integer, rightMargin As Integer, topMargin As Integer, bottomMargin As Integer)
[C#] public void setBoxMargin2(int leftMargin, int rightMargin, int topMargin, int bottomMargin);

Description

Sets the margins of the bounding box in pixels.

The margins of a bounding box refer to the distances between the borders of the bounding box to the color axis inside.

Arguments

ArgumentDefaultDescription
leftMargin(Mandatory)The left margin in pixels.
rightMargin(Mandatory)The right margin in pixels.
topMargin(Mandatory)The top margin in pixels.
bottomMargin(Mandatory)The bottom margin in pixels.

Return Value

None