Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- boundingBox
- A System.Drawing.RectangleF which represents the location of the rectangle.
- roundSize
- A single-precision value that specifies the width and height of the ellipse used to draw the rounded corners. A negative value has the same effect as a positive value.
- color
- A System.Drawing.Color of the circle’s outline.
The coordinates of the round rectangle must be within the physical area of the printer. To fill a rounded rectangle, set the FillColor and FillStyle properties of the object on which the rectangle is drawn.
The width of the line used to draw the rectangle depends on the setting of the Width property. The way the rectangle is drawn on the background depends on the setting of the Mode and Style properties.