ComponentOne Word for UWP
C1.UWP.Word Assembly / C1.Xaml.Word Namespace / C1WordDocument Class / DrawLine Method / DrawLine(Pen,Point,Point) Method
The drawing pen.
The first point of the line.
The second point of the line.

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

    Parameters

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