'Declaration Public Sub DrawLine( _ ByVal color As Color, _ ByVal point1 As Point, _ ByVal point2 As Point _ )
'Usage Dim instance As SmartPaint Dim color As Color Dim point1 As Point Dim point2 As Point instance.DrawLine(color, point1, point2)
Parameters
- color
- A System.Drawing.Color structure representing the color of the line.
- point1
- A System.Drawing.Point representing the point at which to begin drawing the line.
- point2
- A System.Drawing.Point representing the point at which to stop drawing the line.