VintaSoft Imaging .NET SDK 12.3: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Drawing Namespace / PdfGraphics Class / FillAndDrawRectangle Methods / FillAndDrawRectangle(PdfPen,PdfBrush,RectangleF) Method
Syntax Requirements SeeAlso
In This Topic
    FillAndDrawRectangle(PdfPen,PdfBrush,RectangleF) Method (PdfGraphics)
    In This Topic
    Fills and then draws the rectangle specified by a System.Drawing.RectangleF structure.
    Syntax
    'Declaration
    
    Public Overloads Sub FillAndDrawRectangle( _
    ByVal pen
    PdfPen that determines the color, width, and style of the rectangle border.
    As PdfPen, _
    ByVal brush
    PdfBrush that determines the characteristics of the fill.
    As PdfBrush, _
    ByVal rect
    A System.Drawing.RectangleF structure that represents the rectangle.
    As System.Drawing.RectangleF _
    )
    public void FillAndDrawRectangle(
    PdfPen pen,
    PdfBrush brush,
    System.Drawing.RectangleF rect
    )
    public: void FillAndDrawRectangle(
    PdfPen* pen,
    PdfBrush* brush,
    System.Drawing.RectangleF* rect
    )
    public:
    void FillAndDrawRectangle(
    PdfPen^ pen,
    PdfBrush^ brush,
    System.Drawing.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: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also