VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Pdf.Drawing Namespace / PdfGraphics Class / DrawLine Method / DrawLine(PdfPen,PointF,PointF) Method
PdfPen that determines the color, width, and style of the line.
System.Drawing.PointF structure that represents the first point to connect.
System.Drawing.PointF structure that represents the second point to connect.



In This Topic
    DrawLine(PdfPen,PointF,PointF) Method
    In This Topic
    Draws a line connecting two System.Drawing.PointF structures.
    Syntax
    'Declaration
     
    Public Overloads Sub DrawLine( _
       ByVal pen As PdfPen, _
       ByVal pt1 As PointF, _
       ByVal pt2 As PointF _
    ) 
    public void DrawLine( 
       PdfPen pen,
       PointF pt1,
       PointF pt2
    )
    public: void DrawLine( 
       PdfPen* pen,
       PointF pt1,
       PointF pt2
    ) 
    public:
    void DrawLine( 
       PdfPen^ pen,
       PointF pt1,
       PointF pt2
    ) 

    Parameters

    pen
    PdfPen that determines the color, width, and style of the line.
    pt1
    System.Drawing.PointF structure that represents the first point to connect.
    pt2
    System.Drawing.PointF structure that represents the second point to connect.
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also