Search
DiagramView.LoadFromStream Method
See Also
 





Loads the Diagram document from a stream.

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

 Syntax

C#  Copy Code

public void LoadFromStream (
    Stream stream
)

Visual Basic  Copy Code

Public Sub LoadFromStream( _
    stream As Stream _
)

 Parameters

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