Loads the Diagram document from a stream.
Namespace: MindFusion.Diagramming.WebForms
Package: MindFusion.Diagramming.WebForms
C# Copy Code |
---|
public void LoadFromStream ( |
Visual Basic Copy Code |
---|
Public Sub LoadFromStream( _ |
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.