Search
Diagram.SaveToFile Method (String, Boolean)
See Also
 





Saves the binary contents of a diagram to the specified file, optionally clearing the Dirty flag.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 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