How to Move Nodes on a Diagram Programmatically?
14 Mar 2016 / 1 minute to read
You can move the desired collection of nodes to a diagram using the MoveNodes method. The following code example illustrates this.
//Move the selected nodes by 20 pixels in both horizontally and vertically.
diagram1.MoveNodes(diagram1.Controller.SelectionList, 20, 20, MeasureUnits.Pixel);
'Move the selected nodes by 20 pixels in both horizontally and vertically.
diagram1.MoveNodes(diagram1.Controller.SelectionList, 20, 20, MeasureUnits.Pixel)
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page