PolyLine Method

Path Control

Specifies a set of line segments to use as a path. The first point defines the path's starting point. This method can be used or modified only when the path is stopped.

Syntax

HTML<PARAM NAME="Shape" VALUE=" PolyLine
( npoints, [ x1, y1, ..., xN, yN ] ) ">
ScriptingPolyLineArray=Array( x1, y1, ..., xN, yN )
pathObj.PolyLine ( npoints, PolyLineArray )

Parameters

npoints
Number of points to be used to define the path.
x1, y1,..., xN, yN
Set of x- and y-coordinates that identify the points of the path.
PolyLineArray
Array that contains the x- and y-coordinate definitions (script only).

Example

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


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