'Declaration Overloads Sub DrawLine( _ ByVal pen As Pen, _ ByVal point1 As Point, _ ByVal point2 As Point _ )
'Usage Dim instance As IDrawingContext Dim pen As Pen Dim point1 As Point Dim point2 As Point instance.DrawLine(pen, point1, point2)
Parameters
- pen
- The pen with which to stroke the line.
- point1
- The start point of the line.
- point2
- The end point of the line.