VintaSoft Imaging .NET SDK v8.7
Vintasoft.Imaging.Pdf.Drawing Namespace / PdfGraphics Class / FillAndDrawRectangle Method
PdfPen that determines the color, width, and style of the rectangle border.
PdfBrush that determines the characteristics of the fill.
The x-coordinate of the bottom-left corner of the rectangle.
The y-coordinate of the bottom-left corner of the rectangle.
Width of the rectangle.
Height of the rectangle.



In This Topic
    FillAndDrawRectangle Method
    In This Topic
    Fills and draws the rectangle specified by a coordinate pair, a width, and a height.
    Syntax
    'Declaration
     
    Public Sub FillAndDrawRectangle( _
       ByVal pen As PdfPen, _
       ByVal brush As PdfBrush, _
       ByVal x As Single, _
       ByVal y As Single, _
       ByVal width As Single, _
       ByVal height As Single _
    ) 
    public void FillAndDrawRectangle( 
       PdfPen pen,
       PdfBrush brush,
       float x,
       float y,
       float width,
       float height
    )
    public: void FillAndDrawRectangle( 
       PdfPen* pen,
       PdfBrush* brush,
       float x,
       float y,
       float width,
       float height
    ) 
    public:
    void FillAndDrawRectangle( 
       PdfPen^ pen,
       PdfBrush^ brush,
       float x,
       float y,
       float width,
       float height
    ) 

    Parameters

    pen
    PdfPen that determines the color, width, and style of the rectangle border.
    brush
    PdfBrush that determines the characteristics of the fill.
    x
    The x-coordinate of the bottom-left corner of the rectangle.
    y
    The y-coordinate of the bottom-left corner of the rectangle.
    width
    Width of the rectangle.
    height
    Height of 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