Search
Diagram.LoadFromStream Method
See Also
 





Loads a diagram from the specified stream.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public void LoadFromStream (
    Stream stream
)

Visual Basic  Copy Code

Public Sub LoadFromStream( _
    stream As Stream _
)

 Parameters

stream
An instance of a Stream-derived class.

 Remarks

The method loads previously saved diagram from a stream. Stream wraps sequences of bytes, such as files, memory buffers, TCP sockets and more. The method throws exception if the stream given as argument does not contain data of the proper format. Diagrams can be saved in a stream using the SaveToStream method.

 See Also