ASP.NET Pack Programmer's Guide
Diagram.LoadFromXml Method (String, Boolean)
See Also
 





Loads the diagram from an XML file.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public void LoadFromXml (
    string fileName,
    bool loadDiagramProperties
)

Visual Basic  Copy Code

Public Sub LoadFromXml( _
    fileName As String, _
    loadDiagramProperties As Boolean _
)

 Parameters

fileName
The name of the XML file the data should be read from.
loadDiagramProperties
true to load values of the diagram properties; false to load only the diagram items.

 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

LoadFromXml Method Overload List
Diagram Members
Diagram Class
MindFusion.Diagramming Namespace