Search
DiagramView.SaveToXml Method (String)
See Also
 





Saves the diagram into an XML file.

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

 Syntax

C#  Copy Code

public void SaveToXml (
    string fileName
)

Visual Basic  Copy Code

Public Sub SaveToXml( _
    fileName As String _
)

 Parameters

fileName
The full path and name of the disk file 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