Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How to know if it’s a Node or a Link on Clipboard? (Read 1378 times)
Gu Wenwei
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 49
Joined: May 2nd, 2017
How to know if it’s a Node or a Link on Clipboard?
Dec 11th, 2017 at 12:27am
Print Post  
diagramView.CopyToClipboard(true);
How to know if it’s a Node or a Link on Clipboard?
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3154
Joined: Oct 19th, 2005
Re: How to know if it’s a Node or a Link on Clipboard?
Reply #1 - Dec 11th, 2017 at 9:18am
Print Post  
It depends on what objects there were in diagram.Selection.Items when you called CopyToClipboard. There could also be multiple nodes and links in the clipboard and not a single one, unless you've disabled multiple selection. At time of pasting the control will raise NodePasted and / or LinkPasted  events.

Regards,
Slavcho
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint