RoundRect Method

Structured Graphics Control

Creates a round-cornered rectangle filled with the current color set in the SetFillColor method.

Syntax

HTML<PARAM NAME="Line0001" VALUE="RoundRect( x, y, width, height, arcWidth, arcHeight, rotation )">
ScriptingSGObj.RoundRect( x, y, width, height, arcWidth, arcHeight, rotation )
FileRoundRect( x, y, width, height, arcWidth, arcHeight, rotation )

Parameters

x
Left edge of the rectangle.
y
Top edge of the rectangle.
width
Width of the rectangle.
height
Height of the rectangle.
arcWidth
Horizontal diameter of the arc at the four corners.
arcHeight
Vertical diameter of the arc at the four corners.
rotation
Degree of rotation from the 0 degrees position.

Example

Right-click inside the frame and choose View Source to see the HTML code for this example.


Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.