DrawLine(PointF,PointF,Pen) Method
In This Topic
Draws a line between two points, using the specified pen.
Syntax
'Declaration
Public Overloads Sub DrawLine( _
ByVal As System.Drawing.PointF, _
ByVal As System.Drawing.PointF, _
ByVal As Pen _
)
public void DrawLine(
System.Drawing.PointF ,
System.Drawing.PointF ,
Pen
)
Parameters
- p1
- The first point.
- p2
- The second point.
- pen
- The pen to use.
See Also