Draws a line connecting two PointF structures. 
 Syntax
Syntax
| Visual Basic (Declaration) |  | 
| Public Overloads Sub DrawLine( _
   ByVal pen As Pen, _
   ByVal pt1 As PointF, _
   ByVal pt2 As PointF _
)  | 
 
Parameters
- pen 
- Pen object that determines the color, width, and style of the line.
- pt1 
- PointF structure that represents the first point to connect.
- pt2 
- PointF structure that represents the second point to connect.
 
 Requirements
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
 
 See Also
See Also