Saves the binary contents of a diagram to the specified .NET stream, optionally clearing the Dirty flag.
Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming
C# Copy Code |
---|
public void SaveToStream ( |
Visual Basic Copy Code |
---|
Public Sub SaveToStream( _ |
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.