ComponentOne Input for WinForms
C1.Win.C1Input.4.5.2 Assembly / C1.Framework.Drawing.Gdi.DeviceContexts Namespace / DeviceContext Class / DrawLine Method
A System.Drawing.Point indicate the line start point
A System.Drawing.Point indicate the line end point

In This Topic
    DrawLine Method (DeviceContext)
    In This Topic
    Draws the special line by using the current pen of the device context.
    Syntax
    'Declaration
     
    Public Overridable Sub DrawLine( _
       ByVal startPoint As System.Drawing.Point, _
       ByVal endPoint As System.Drawing.Point _
    ) 
    public virtual void DrawLine( 
       System.Drawing.Point startPoint,
       System.Drawing.Point endPoint
    )

    Parameters

    startPoint
    A System.Drawing.Point indicate the line start point
    endPoint
    A System.Drawing.Point indicate the line end point
    Exceptions
    ExceptionDescription
    Defines an exception class to handle the system error.
    See Also