VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Pdf.Drawing Namespace / PdfGraphics Class / Rectangle Method
PdfPen that determines the color, width, and style of the rectangle border.
PdfBrush that determines the characteristics of the fill.
A System.Drawing.RectangleF structure that represents the rectangle.



In This Topic
    Rectangle Method
    In This Topic
    Fills and then draws the rectangle specified by a System.Drawing.RectangleF structure.
    Syntax
    'Declaration
     
    Public Sub Rectangle( _
       ByVal pen As PdfPen, _
       ByVal brush As PdfBrush, _
       ByVal rect As RectangleF _
    ) 
    public void Rectangle( 
       PdfPen pen,
       PdfBrush brush,
       RectangleF rect
    )
    public: void Rectangle( 
       PdfPen* pen,
       PdfBrush* brush,
       RectangleF rect
    ) 
    public:
    void Rectangle( 
       PdfPen^ pen,
       PdfBrush^ brush,
       RectangleF rect
    ) 

    Parameters

    pen
    PdfPen that determines the color, width, and style of the rectangle border.
    brush
    PdfBrush that determines the characteristics of the fill.
    rect
    A System.Drawing.RectangleF structure that represents the rectangle.
    Requirements

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

    See Also