[]
        
(Showing Draft Content)

C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.PaintRoundRectangle

PaintRoundRectangle Method

PaintRoundRectangle(Rectangle, int, int)

Paints a rectangle with rounded corners. The rectangle is outlined by using the current pen and filled by using the current brush.

Declaration
public virtual void PaintRoundRectangle(Rectangle rectangle, int width, int height)
Parameters
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.

Remarks

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.

Exceptions
Type Condition
SystemErrorException