Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Paste DiagramNodes from clipboard (Read 2209 times)
Hunter
Full Member
***
Offline



Posts: 194
Location: Sevastopol
Joined: Dec 1st, 2009
Paste DiagramNodes from clipboard
Sep 13th, 2011 at 9:13am
Print Post  
Hello.
I have the following question.
The method PasteFromClipboard hase the parameter offset as Vector. I saw the code of the library and concluded that this is the offset between source copied objects and objects which will be pasted. But how can I paste the Diagram Nodes  when I copy them from one diagram and need to paste into another diagram into the mouse cursor position?
Thanks.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Paste DiagramNodes from clipboard
Reply #1 - Sep 13th, 2011 at 9:28am
Print Post  
Hi,

Call the MoveSelection method from this topic after calling PasteFromClipboard:
http://mindfusion.eu/Forum/YaBB.pl?board=wpfdg_disc;action=display;num=122710007...

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Hunter
Full Member
***
Offline



Posts: 194
Location: Sevastopol
Joined: Dec 1st, 2009
Re: Paste DiagramNodes from clipboard
Reply #2 - Sep 13th, 2011 at 11:02am
Print Post  
Thank you!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint