Saves the diagram into an XML document.
Namespace: MindFusion.Diagramming.WinForms
Assembly: MindFusion.Diagramming.WinForms
C#
![]() |
---|
public virtual void SaveToXml ( |
Visual Basic
![]() |
---|
Public Overridable Sub SaveToXml( _ |
The first overloaded SaveToXml method works by creating an XmlDocument instance, calling the second overloaded method, and writing the document content to a file.
Diagram data can be loaded from an XML file or document using the LoadFromXml method.
MindFusion.Diagramming Developer's Guide | © 2025 MindFusion |