Loads a diagram from a file.
Namespace: MindFusion.Diagramming.WebForms
Package: MindFusion.Diagramming.WebForms
C# Copy Code |
---|
public void LoadFromFile ( |
Visual Basic Copy Code |
---|
Public Sub LoadFromFile( _ |
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.