Search
Diagram.saveToString Method
See Also
 






Encodes the diagram contents into an XML or JSON string.

Namespace: MindFusion.Diagramming
File: Diagram.js

 Syntax

JavaScript  Copy Code

function saveToString (format)

 Parameters

format

A member of the SaveToStringFormat enumeration.

 Return Value

String. A string containing the diagram's serialized representation.

 See Also