Search
DiagramView.SaveToJson Method (JsonObject, JsonPersistContext)
See Also
 





Saves the diagram content and view state into a JSON object.

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

 Syntax

C#  Copy Code

public virtual void SaveToJson (
    JsonObject diagramObj,
    JsonPersistContext context
)

Visual Basic  Copy Code

Public Overridable Sub SaveToJson( _
    diagramObj As JsonObject, _
    context As JsonPersistContext _
)

 Parameters

diagramObj

context

 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