Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Diagram.LoadFromXml - Link Headshape disappear (Read 5352 times)
kev
YaBB Newbies
*
Offline


Never touch a running
system.

Posts: 2
Joined: Jan 3rd, 2012
Diagram.LoadFromXml - Link Headshape disappear
Jan 3rd, 2012 at 1:15pm
Print Post  
Hi there,

I've got a problem with XML

I'm using Diagram.SaveToXml(XmlDocument) for storing the diagram. In the generated XML the headshape-id is set : <HeadShape Id="Arrow" />
But when I load the XML using Diagram.LoadFromXml(XmlDocument) the arrow does not show up in the diagram. When I save it again, there is no headshape-id set in the XML. I think there is a bug in the load method.

Infos: I'm using VS2005, .Net 2.0, FlowChart.Net 5.7 Trial
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Diagram.LoadFromXml - Link Headshape disappear
Reply #1 - Jan 3rd, 2012 at 1:25pm
Print Post  
Hi,

Are you using a class derived from DiagramLink? In such case, check this topic:
http://mindfusion.eu/Forum/YaBB.pl?num=1320386783

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
kev
YaBB Newbies
*
Offline


Never touch a running
system.

Posts: 2
Joined: Jan 3rd, 2012
Re: Diagram.LoadFromXml - Link Headshape disappear
Reply #2 - Jan 3rd, 2012 at 1:37pm
Print Post  
Hi Stoyan,

it works, I've register the derived classes with classVersion=101 and the arrow is there.

Thanks a lot.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint