Draws a line connecting two PointF structures.
Syntax
Visual Basic (Declaration) |
|
Public Overloads Sub DrawLine( _
ByVal pen As Pen, _
ByVal pt1 As PointF, _
ByVal pt2 As PointF _
) |
Visual Basic (Usage) |
Copy Code |
Dim instance As ChartGraphics
Dim pen As Pen
Dim pt1 As PointF
Dim pt2 As PointF
instance.DrawLine(pen, pt1, pt2)
|
Parameters
- pen
-
- pt1
-
- pt2
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