Edytuj

Udostępnij za pośrednictwem


ShapeNodes.SetPosition(Int32, Single, Single) Method

Definition

Sets the location of the specified node.

public:
 void SetPosition(int Index, float X1, float Y1);
public void SetPosition (int Index, float X1, float Y1);
Public Sub SetPosition (Index As Integer, X1 As Single, Y1 As Single)

Parameters

Index
Int32

Required Integer. The node whose position is to be set.

X1
Single

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

Y1
Single

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

Remarks

Note that, depending on the editing type of the node, this method may affect the position of adjacent nodes.

Applies to