Search
DiagramView.SaveToFile Method
See Also
 





Saves the diagram into a file.

Namespace: MindFusion.Diagramming.WinForms
Assembly: MindFusion.Diagramming.WinForms

 Syntax

C#  Copy Code

public void SaveToFile (
    string fileName,
    bool clearDirty
)

Visual Basic  Copy Code

Public Sub SaveToFile( _
    fileName As String, _
    clearDirty As Boolean _
)

 Parameters

fileName
The full path and name of the disk file where the diagram should be saved.
clearDirty
Indicates whether the Dirty flag should be cleared.

 Remarks

SaveToFile creates a file stream and invokes the SaveToStream method on it. The file contents can be loaded later using the LoadFromFile method.

 See Also