ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi Namespace / Graphics Class / FillRectangle Method
A Brush object used to fill the rectangle.
A System.Drawing.Rectangle structure that specifies the rectangle to be filled.

In This Topic
    FillRectangle Method (Graphics)
    In This Topic
    Fill the specified rectangle by using the given brush.
    Syntax
    'Declaration
     
    
    Public Sub FillRectangle( _
       ByVal brush As Brush, _
       ByVal rectangle As Rectangle _
    ) 
    public void FillRectangle( 
       Brush brush,
       Rectangle rectangle
    )

    Parameters

    brush
    A Brush object used to fill the rectangle.
    rectangle
    A System.Drawing.Rectangle structure that specifies the rectangle to be filled.
    Exceptions
    ExceptionDescription
    Defines an exception class to handle the system error.
    See Also