Document Solutions for PDF
DS.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / GcGraphics Class / DrawLine Method / DrawLine(PointF,PointF,Pen) Method
The first point.
The second point.
The pen to use.

In This Topic
    DrawLine(PointF,PointF,Pen) Method
    In This Topic
    Draws a line between two points, using the specified pen.
    Syntax
    'Declaration
     
    Public Overloads Sub DrawLine( _
       ByVal p1 As System.Drawing.PointF, _
       ByVal p2 As System.Drawing.PointF, _
       ByVal pen As Pen _
    ) 
    public void DrawLine( 
       System.Drawing.PointF p1,
       System.Drawing.PointF p2,
       Pen pen
    )

    Parameters

    p1
    The first point.
    p2
    The second point.
    pen
    The pen to use.
    See Also