Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Clone Diagram (Read 2365 times)
jlagniez
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 12
Joined: Feb 15th, 2022
Clone Diagram
Feb 24th, 2022 at 1:49pm
Print Post  
Hi,

Is it possible to clone a diagram? Clone method does not exist on Diagram class.

Regards,
Jean-Marc
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3153
Joined: Oct 19th, 2005
Re: Clone Diagram
Reply #1 - Feb 24th, 2022 at 2:54pm
Print Post  
Hi,

Try calling copy.LoadFromString(sourceDiagram.SaveToString());

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
jlagniez
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 12
Joined: Feb 15th, 2022
Re: Clone Diagram
Reply #2 - Feb 28th, 2022 at 4:10pm
Print Post  
Hi,

Thank you very much, we did it with loadFromFile/SaveToFile. This is much better.

Regards,
Jean-Marc
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint