Search
DiagramView.LoadFromStream Method
See Also
 





Loads the Diagram document from a stream.

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

 Syntax

C#  Copy Code

public virtual void LoadFromStream (
    Stream stream
)

Visual Basic  Copy Code

Public Overridable Sub LoadFromStream( _
    stream As Stream _
)

 Parameters

stream
Object 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