We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

getting the Diagram''s properties

Thread ID:





78521 Dec 16,2008 11:53 PM UTC Dec 29,2008 10:31 PM UTC WinForms 2
Tags: Diagram
Ron Alan Sawyer
Asked On December 16, 2008 11:53 PM UTC

I have figured out how to get the properties of each node, but how do I get the properties of the diagram (or diagram.model)?

For instance, if I click on the background of diagram, I see in the property editor the following:

I need to store these in a database and restore them when I open a diagram.

Ajeet M [Syncfusion]
Replied On December 18, 2008 04:07 PM UTC


The sample file is attached here. The file demonstrates how the values of Model's Background style's parameters are captured and stored in an XML file "C:\myModel.xml".

This also shows how it effectively constructs the values back again.

Let me know if you shall need any further clarifications here.

Happy coding!



Ron Alan Sawyer
Replied On December 29, 2008 10:31 PM UTC

Thank you very much.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon