Search
DiagramView.SaveToJson Method (String)
See Also
 





Saves the diagram into a JSON file.

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

 Syntax

C#  Copy Code

public void SaveToJson (
    string fileName
)

Visual Basic  Copy Code

Public Sub SaveToJson( _
    fileName As String _
)

 Parameters

fileName

A string specifying the file name or full path.

 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