VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Pdf.Drawing Namespace / PdfGraphics Class / DrawRectangle Method / DrawRectangle(PdfPen,RectangleF) Method
PdfPen that determines the color, width, and style of the rectangle.
A System.Drawing.RectangleF structure that represents the rectangle to draw.



In This Topic
    DrawRectangle(PdfPen,RectangleF) Method
    In This Topic
    Draws a rectangle specified by a System.Drawing.RectangleF structure.
    Syntax
    'Declaration
     
    Public Overloads Sub DrawRectangle( _
       ByVal pen As PdfPen, _
       ByVal rect As RectangleF _
    ) 
    public void DrawRectangle( 
       PdfPen pen,
       RectangleF rect
    )
    public: void DrawRectangle( 
       PdfPen* pen,
       RectangleF rect
    ) 
    public:
    void DrawRectangle( 
       PdfPen^ pen,
       RectangleF rect
    ) 

    Parameters

    pen
    PdfPen that determines the color, width, and style of the rectangle.
    rect
    A System.Drawing.RectangleF structure that represents the rectangle to draw.
    Requirements

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

    See Also