Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / IShapeNodes Interface / SetPosition Method
The node whose position is to be set.
The position (in points) of the new node relative to the upper-left corner of the document.
The position (in points) of the new node relative to the upper-left corner of the document.


In This Topic
SetPosition Method
In This Topic
Sets the location of the node specified by index.
Syntax
'Declaration
 
Sub SetPosition( _
   ByVal index As Integer, _
   ByVal x1 As Double, _
   ByVal y1 As Double _
) 
 
'Usage
 
Dim instance As IShapeNodes
Dim index As Integer
Dim x1 As Double
Dim y1 As Double
 
instance.SetPosition(index, x1, y1)

Parameters

index
The node whose position is to be set.
x1
The position (in points) of the new node relative to the upper-left corner of the document.
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.
See Also