Search
Diagram.SaveToXml Method (String)
See Also
 





Saves the diagram to the specified file as an XML document.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 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