Creates a rectangular shape filled with the current color set in the SetFillColor method.
Syntax
HTML <PARAM NAME="Line0001" VALUE="Rect( x, y, width, height, rotation )"> Scripting SGObj.Rect( x, y, width, height, rotation ) File Rect( x, y, width, height, rotation )
Parameters
- x
- Left edge of the rectangle.
- y
- Top edge of the rectangle.
- width
- Width of the rectangle.
- height
- Height of the rectangle.
- 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
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.