[]
Draw line from this document.
public void DrawLine(Pen pen, PointF pt1, PointF pt2)
Public Sub DrawLine(pen As Pen, pt1 As PointF, pt2 As PointF)
| Type | Name | Description |
|---|---|---|
| Pen | pen | The drawing pen. |
| PointF | pt1 | The first point of the line. |
| PointF | pt2 | The second point of the line. |
Draw line from this document.
public void DrawLine(Pen pen, float x1, float y1, float x2, float y2)
Public Sub DrawLine(pen As Pen, x1 As Single, y1 As Single, x2 As Single, y2 As Single)
| Type | Name | Description |
|---|---|---|
| Pen | pen | The drawing pen. |
| float | x1 | The x first coordinate. |
| float | y1 | The y first coordinate. |
| float | x2 | The x second coordinate. |
| float | y2 | The y second coordinate. |