Profile Picture

Serialize the diagram

Posted By Luis Mendes 14 Years Ago
Author
Message
Trond Borg
Posted 12 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)

Group: Forum Members
Last Active: 11 Years Ago
Posts: 7, Visits: 1
I see you can serialize a NPersistentDocument. But how about a NDrawingDocument?

I only see the option to save those to files?

It would be very useful to be able to serialize a NDrawingDocument to for example XML so this can be saved and retrieved from a SQL database for example.

Is there any way to do this?

Nevron Support
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009
Hi Luis,

You can take a look at the following topic in the documentation:
Diagram for .NET > User's Guide > Extensions > Persistency Manager

It explains how you can save/load drawing and library documents to/from different serialization formats.

Best Regards,
Nevron Support Team



Luis Mendes
Posted 14 Years Ago
View Quick Profile
Forum Member

Forum Member (25 reputation)Forum Member (25 reputation)Forum Member (25 reputation)Forum Member (25 reputation)Forum Member (25 reputation)Forum Member (25 reputation)Forum Member (25 reputation)Forum Member (25 reputation)Forum Member (25 reputation)

Group: Forum Members
Last Active: 13 Years Ago
Posts: 25, Visits: 1

Is there a way I can serialize the diagram? nDrawingView? I need to serialize the diagram, vertices, edges, layout, colors .... to a string and load the diagram at a later time from it. Any help?

Thanks.

 





Similar Topics


Reading This Topic