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.Wpf
Assembly: MindFusion.Diagramming.Wpf

 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 by the SaveToXml method. This method is implemented by loading an XmlDocument from the specified file and calling the LoadFromXml overload.

 See Also