Search
DiagramView.LoadFromJson Method (String, Boolean)
See Also
 





Loads the specified JSON data.

Namespace: MindFusion.Diagramming.Mvc
Assembly: MindFusion.Diagramming.Mvc

 Syntax

C#  Copy Code

public void LoadFromJson (
    string json,
    bool clearDiagram
)

Visual Basic  Copy Code

Public Sub LoadFromJson( _
    json As String, _
    clearDiagram As Boolean _
)

 Parameters

json

The JSON string

clearDiagram

true to remove all diagram items before loading, or false otherwise.

 See Also