Search
DiagramView.SaveToStream Method
See Also
 





Saves the diagram data into a .NET stream.

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

 Syntax

C#  Copy Code

public virtual void SaveToStream (
    Stream stream,
    bool clearDirty
)

Visual Basic  Copy Code

Public Overridable Sub SaveToStream( _
    stream As Stream, _
    clearDirty As Boolean _
)

 Parameters

stream
An instance of a System.IO.Stream-derived class.
clearDirty
Indicates whether the Dirty flag should be cleared.

 Remarks

Serializes the current diagram as a sequence of bytes represented by stream. The stream may wrap a file, a memory buffer, a TCP socket, and more. The stream contents can be loaded later using the LoadFromStream method.

 See Also