PaintRectangle Method (DeviceContext)
In This Topic
Draw the special rectangle by using the current pen of the device context and fill the rectangle by using the current brush of the device context.
Syntax
'Declaration
Public Overridable Sub PaintRectangle( _
ByVal As Rectangle _
)
public virtual void PaintRectangle(
Rectangle
)
Parameters
- rectangle
- A System.Drawing.Rectangle indicate the rectangle to paint.
Exceptions
Exception | Description |
C1.Framework.SystemErrorException | Defines an exception class to handle the system error. |
See Also