Hi Prakash,
I have to do a custom cut paste in our application. When the user clicks on the cut, we wouldn''t want the object to be removed from the diagram. Instead the object would remain in the diagram, but the symbols would now appear as dashed. When the object is pasted, I move the symbols to a new position where it is pasted and then delete the dashed object. This in our application has been successfully tried across different worksheets as well.
The object which is pasted to a new position when moved appears differently.
I am attaching the Cut/Paste code which I had tried.
Note:- Apart from that in my code I am not able to move the links properly to the new position if I have cut 2 functionblocks which has a link attached to it.
Rgds,
Vinod
>Hi Vinod,
>
>This looks like the problem could be tied to your implementation. The DiagramBuilder sample shows clipboard copy/paste of symbols, and it works perfectly. Please try using your symbol with the DiagramBuilder sample and see if that works as expected. If copy/paste of your symbol works normally with the DiagramBuilder sample then you could try comparing the DiagramBuilder implementation with that of your application to see if you can determine the problem. If this does not work then please send us a small sample along with your symbol palette that will let us reproduce the problem, and we will look into the issue.
>
>Regards,
>Prakash Surendra
>Syncfusion Inc.,
Sample9.zip