Search
Diagram.SaveToStream Method (Stream)
See Also
 





Saves the binary contents of the diagram to the specified .NET stream.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public void SaveToStream (
    Stream stream
)

Visual Basic  Copy Code

Public Sub SaveToStream( _
    stream As Stream _
)

 Parameters

stream
An instance of a System.IO.Stream-derived class.

 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