Rect Method

Path Control

Specifies a rectangular path with its starting point at the top left point of the rectangle. This method can be used or modified only when the path is stopped.

Syntax

HTML<PARAM NAME="Shape" VALUE="Rect
( xpos, ypos, width, height )">
ScriptingpathObj.Rect( xpos, ypos, width, height )

Parameters

xpos
The x position for the starting point of the rectangle.
ypos
The y position for the starting point of the rectangle.
width
Width of the rectangle.
height
Height of the rectangle.

Example

Right-click inside the frame and select View Source to see the HTML code for the Rect method example.


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