[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.Drawing.IShapeNodes.SetPosition

SetPosition Method

SetPosition(int, double, double)

Sets the location of the node specified by index.

Declaration
void SetPosition(int index, double x1, double y1)
Sub SetPosition(index As Integer, x1 As Double, y1 As Double)
Parameters
Type Name Description
int index

The node whose position is to be set.

double x1

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

double y1

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.