Search
Diagram.LoadFromXml Method (String)
See Also
 





Loads the contents of the XML diagram document from the specified file into the control.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public void LoadFromXml (
    string fileName
)

Visual Basic  Copy Code

Public Sub LoadFromXml( _
    fileName As String _
)

 Parameters

fileName
The name of the XML file the data should be read from.

 Remarks

The method reads a diagram previously saved via the SaveToXml method. This method is implemented by loading an XmlDocument from the specified file and calling the LoadFromXml overload.

 See Also