Search
DiagramView.SaveToJson Method (Stream)
See Also
 





Saves the diagram into a stream in JSON format.

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

 Syntax

C#  Copy Code

public void SaveToJson (
    Stream stream
)

Visual Basic  Copy Code

Public Sub SaveToJson( _
    stream As Stream _
)

 Parameters

stream

A System.IO.Stream instance to which to write the diagram data in JSON format.

 Remarks

This method adds view state information (scroll position, zoom level, Behavior property value) to the JSON dictionary created by the Diagram object's SaveToJson method.

 See Also