Draws a line connecting two point structures.
Syntax
'Declaration
Public Overloads Sub DrawLine( _
ByVal As System.Drawing.Pen, _
ByVal As System.Drawing.PointF, _
ByVal As System.Drawing.PointF _
)
public void DrawLine(
System.Drawing.Pen ,
System.Drawing.PointF ,
System.Drawing.PointF
)
Parameters
- pen
- System.Drawing.Pen object that determines the color, width, and style of the line.
- pt1
- The first point.
- pt2
- The second point.
See Also