ComponentOne Word for WinForms
C1.C1Word.4.5.2 Assembly / C1.C1Word Namespace / C1WordDocument Class / DrawLine Method / DrawLine(Pen,Single,Single,Single,Single) Method
The drawing pen.
The x first coordinate.
The y first coordinate.
The x second coordinate.
The y second coordinate.

In This Topic
    DrawLine(Pen,Single,Single,Single,Single) Method
    In This Topic
    Draw line from this document.
    Syntax
    'Declaration
     
    Public Overloads Sub DrawLine( _
       ByVal pen As System.Drawing.Pen, _
       ByVal x1 As System.Single, _
       ByVal y1 As System.Single, _
       ByVal x2 As System.Single, _
       ByVal y2 As System.Single _
    ) 
    public void DrawLine( 
       System.Drawing.Pen pen,
       System.float x1,
       System.float y1,
       System.float x2,
       System.float y2
    )

    Parameters

    pen
    The drawing pen.
    x1
    The x first coordinate.
    y1
    The y first coordinate.
    x2
    The x second coordinate.
    y2
    The y second coordinate.
    See Also