Search
Diagram.saveToString Method
See Also
 





Encodes the diagram contents into an XML or JSON string.

Namespace: MindFusion.Diagramming
Package: 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