[]
Paints a rectangle with rounded corners. The rectangle is outlined by using the current pen and filled by using the current brush.
public virtual void PaintRoundRectangle(Rectangle rectangle, int width, int height)
Public Overridable Sub PaintRoundRectangle(rectangle As Rectangle, width As Integer, height As Integer)
| Type | Name | Description |
|---|---|---|
| Rectangle | rectangle | A Rectangle indicates the rectangle to paint. |
| int | width | An int indicates the width of the ellipse used to draw the rounded corners. |
| int | height | An int indicates the height of the ellipse used to draw the rounded corners. |
Windows 95/98/Me: The sum of the coordinates of the bounding rectangle cannot exceed 32,767.
The width of rectangle or the height of rectangle cannot exceed 32,767.
| Type | Condition |
|---|---|
| SystemErrorException |