Search
DiagramView.saveToJson Method (OutputStream)
See Also
 

Saves the diagram into a JSON stream.

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

public void saveToJson (
    OutputStream stream
)

 Parameters

stream
A java.io.OutputStream 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