FillRectangle Method (Graphics)
In This Topic
Fill the specified rectangle by using the given brush.
Syntax
'Declaration
Public Sub FillRectangle( _
ByVal As Brush, _
ByVal As Rectangle _
)
public void FillRectangle(
Brush ,
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
Exception | Description |
C1.Framework.SystemErrorException | Defines an exception class to handle the system error. |
See Also