ChartDirector 5.1 (.NET Edition)

Line.setPos


Usage

[VB] Public Sub setPos(x1 As Integer, y1 As Integer, x2 As Integer, y2 As Integer)
[C#] public void setPos(int x1, int y1, int x2, int y2);

Description

Sets the end-points of the line.

Arguments

ArgumentDefaultDescription
x1(Mandatory)The x coordinate of the first end-point of the line.
y1(Mandatory)The y coordinate of the first end-point of the line.
x2(Mandatory)The x coordinate of the second end-point of the line.
y2(Mandatory)The y coordinate of the second end-point of the line.

Return Value

None