Adds a line.
Syntax

[C#]

void AddLine(double x1, double y1, double x2, double y2);
void AddLine(PointF pt1, PointF pt2);

[Visual Basic]

Sub AddLine(x1 As Double, y1 As Double, x2 As Double, y2 As Double)
Sub AddLine(pt1 As PointF, pt2 As PointF)
Params
Name Description
x1 The first horizontal coordinate (left to right).
y1 The first vertical coordinate (top to bottom).
x2 The second horizontal coordinate (left to right).
y2 The second vertical coordinate (top to bottom).
pt1 The first point.
pt2 The second point.
Notes

None.

Example

None.