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