Hi,
Here’s a simple example on how to perform copy and paste operations:
NRectangleShape rect = new NRectangleShape(20, 20, 100, 60);
document.ActiveLayer.AddChild(rect);
NNodeList nodes = new NNodeList();
nodes.Add(rect);
view.Copy(nodes);
view.Paste();
If you want to copy/paste only the selected nodes, you can use the following code:
view.Copy(view.Selection.Nodes);
view.Paste();
Best Regards,
Nevron Support Team