ComponentOne Word for UWP
C1.UWP.Word Assembly / C1.Xaml.Word Namespace / C1WordDocument Class / DrawLine Method / DrawLine(Pen,Double,Double,Double,Double) 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,Double,Double,Double,Double) Method
    In This Topic
    Draw line from this document.
    Syntax
    'Declaration
     
    Public Overloads Sub DrawLine( _
       ByVal pen As Pen, _
       ByVal x1 As Double, _
       ByVal y1 As Double, _
       ByVal x2 As Double, _
       ByVal y2 As Double _
    ) 
    public void DrawLine( 
       Pen pen,
       double x1,
       double y1,
       double x2,
       double 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