[C#] | public Line addLine(int x1, int y1, int x2, int y2 [, int color [, int lineWidth ]]); |
[VB] | Public Function addLine(x1 As Integer, y1 As Integer, x2 As Integer, y2 As Integer [, color As Integer [, lineWidth As Integer ]]) As Line |
ChartDirector 7.1 (.NET Edition)
BaseChart.
Usage
[C#] | public Line addLine(int x1, int y1, int x2, int y2 [, int color [, int lineWidth ]]); |
[VB] | Public Function addLine(x1 As Integer, y1 As Integer, x2 As Integer, y2 As Integer [, color As Integer [, lineWidth As Integer ]]) As Line |
Description
Arguments
Argument | Default | Description |
---|---|---|
x1 | (Mandatory) | The x pixel coordinate of the first endpoint of the line. |
y1 | (Mandatory) | The y pixel coordinate of the first endpoint of the line. |
x2 | (Mandatory) | The x pixel coordinate of the second endpoint of the line. |
y2 | (Mandatory) | The y pixel coordinate of the second endpoint of the line. |
color | LineColor | The color of the line. |
lineWidth | 1 | The width of the line. |
Return Value