SetPosition Method

         Example         Applies To

Sets the location of the node specified by Index. Note that, depending on the editing type of the node, this method may affect the position of adjacent nodes.

Syntax

expression.SetPosition(Index, X1, Y1)

expression   Required. An expression that returns a ShapeNodes object.

Index   Required Long. The node whose position is to be set.

X1, Y1   Required Single. The position (in points) of the new node relative to the upper-left corner of the document.