[]
        
(Showing Draft Content)

C1.Framework.Drawing.Gdi.Graphics.FillRectangle

FillRectangle Method

FillRectangle(Brush, Rectangle)

Fill the specified rectangle by using the given brush.

Declaration
public void FillRectangle(Brush brush, Rectangle rectangle)
Parameters
Type Name Description
Brush brush

A Brush object used to fill the rectangle.

Rectangle rectangle

A Rectangle structure that specifies the rectangle to be filled.

Exceptions
Type Condition
SystemErrorException