Search
DiagramView.LoadFromFile Method
See Also
 





Loads a diagram from a file.

Namespace: MindFusion.Diagramming.WebForms
Package: MindFusion.Diagramming.WebForms

 Syntax

C#  Copy Code

public void LoadFromFile (
    string fileName
)

Visual Basic  Copy Code

Public Sub LoadFromFile( _
    fileName As String _
)

 Parameters

fileName
The name of the file the data shall be read from.

 Remarks

The method reads previously saved diagram. It is implemented by creating a stream on the input file, then invoking the LoadFromStream method. It throws FileLoad exception if the file given as argument does not adhere to the proper format. Diagrams can be saved in a file using the SaveToFile method.

 See Also