Search
DiagramView.SaveToStream Method
See Also
 





Saves the diagram data into a stream.

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

 Syntax

C#  Copy Code

public void SaveToStream (
    Stream stream,
    bool clearDirty
)

Visual Basic  Copy Code

Public 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.The default value is true.

 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