PDF for UWP | ComponentOne
C1.Xaml.Pdf Namespace / C1PdfDocument Class / DrawLine Method / DrawLine(Pen,Point,Point) Method
Pen object that determines the color, width, and style of the line.
The first point.
The second point.

In This Topic
    DrawLine(Pen,Point,Point) Method
    In This Topic
    Draws a line connecting two point structures.
    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
    Pen object that determines the color, width, and style of the line.
    pt1
    The first point.
    pt2
    The second point.
    Remarks
    All coordinates are expressed in points, measured from the upper-left corner of the page.
    See Also