ComponentOne PDF for .NET
C1.C1Pdf Namespace / C1PdfDocument Class / FillRectangle Method / FillRectangle(Color,RectangleF) Method
The color used to fill the rectangle.
A rectangle structure that represents the rectangle to fill.

In This Topic
    FillRectangle(Color,RectangleF) Method
    In This Topic
    Fills the interior of a rectangle specified by a rectangle structure.
    Syntax
    'Declaration
     
    
    Public Overloads Sub FillRectangle( _
       ByVal color As Color, _
       ByVal rc As RectangleF _
    ) 
    public void FillRectangle( 
       Color color,
       RectangleF rc
    )

    Parameters

    color
    The color used to fill the rectangle.
    rc
    A rectangle structure that represents the rectangle to fill.
    Remarks
    All coordinates are expressed in points, measured from the upper-left corner of the page.
    See Also