Search
DiagramDocument.saveToString Method
See Also
 





Encodes the document contents into an XML or JSON string.

Namespace: MindFusion.Diagramming
File: DiagramDocument.js

 Syntax

JavaScript  Copy Code

function saveToString (format)

 Parameters

format

SaveToStringFormat. A member of the SaveToStringFormat enumeration.

 Return Value

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

 See Also