MindFusion WinForms Programmer's Guide
DiagramView.SaveToXml Method (XmlDocument)
See Also
 





Saves the diagram into an XML document.

Namespace: MindFusion.Diagramming.WinForms
Assembly: MindFusion.Diagramming.WinForms

 Syntax

C#  Copy Code

public virtual void SaveToXml (
    XmlDocument document
)

Visual Basic  Copy Code

Public Overridable Sub SaveToXml( _
    document As XmlDocument _
)

 Parameters

document
A .NET XmlDocument object where the diagram should be saved.

 Remarks

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.

 See Also

SaveToXml Method Overload List
DiagramView Members
DiagramView Class
MindFusion.Diagramming.WinForms Namespace