ComponentOne PDF for .NET
C1.C1Pdf Namespace / C1PdfDocument Class / FillRectangle Method / FillRectangle(Brush,Single,Single,Single,Single) Method
The object that determines the color used to fill the rectangle.
x-coordinate of the upper-left corner of the rectangle to fill.
x-coordinate of the upper-left corner of the rectangle to fill.
Width of the rectangle to fill.
Height of the rectangle to fill.

In This Topic
    FillRectangle(Brush,Single,Single,Single,Single) Method
    In This Topic
    Fills the interior of a rectangle specified by a coordinate pair, a width, and a height.
    Syntax
    'Declaration
     
    
    Public Overloads Sub FillRectangle( _
       ByVal brush As Brush, _
       ByVal x As Single, _
       ByVal y As Single, _
       ByVal width As Single, _
       ByVal height As Single _
    ) 
    public void FillRectangle( 
       Brush brush,
       float x,
       float y,
       float width,
       float height
    )

    Parameters

    brush
    The object that determines the color used to fill the rectangle.
    x
    x-coordinate of the upper-left corner of the rectangle to fill.
    y
    x-coordinate of the upper-left corner of the rectangle to fill.
    width
    Width of the rectangle to fill.
    height
    Height of the rectangle to fill.
    Remarks
    All coordinates are expressed in points, measured from the upper-left corner of the page.
    See Also