Rect Method

Structured Graphics Control

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 )">
ScriptingSGObj.Rect( x, y, width, height, rotation )
FileRect( 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 Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.