DrawLine Method (Graphics)
In This Topic
Draw the special line by using given pen
Syntax
'Declaration
Public Sub DrawLine( _
ByVal As Pen, _
ByVal As Point, _
ByVal As Point _
)
public void DrawLine(
Pen ,
Point ,
Point
)
Parameters
- pen
- A Pen indicate the pen used to draw
- startPoint
- A System.Drawing.Point indicate the line start point
- endPoint
- A System.Drawing.Point indicate the line end point
Exceptions
Exception | Description |
C1.Framework.SystemErrorException | Defines an exception class to handle the system error. |
See Also