PaintRectangle Method (CompatibleDeviceContext)
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.
See Also