ComponentOne Word for WinForms
C1.C1Word.4.8 Assembly / C1.C1Word Namespace / C1WordDocument Class / DrawLine Method / DrawLine(Pen,PointF,PointF) Method
The drawing pen.
The first point of the line.
The second point of the line.

In This Topic
    DrawLine(Pen,PointF,PointF) Method
    In This Topic
    Draw line from this document.
    Syntax
    'Declaration
     
    Public Overloads Sub DrawLine( _
       ByVal pen As System.Drawing.Pen, _
       ByVal pt1 As System.Drawing.PointF, _
       ByVal pt2 As System.Drawing.PointF _
    ) 
    public void DrawLine( 
       System.Drawing.Pen pen,
       System.Drawing.PointF pt1,
       System.Drawing.PointF pt2
    )

    Parameters

    pen
    The drawing pen.
    pt1
    The first point of the line.
    pt2
    The second point of the line.
    See Also