Encodes the diagram contents into an XML or JSON string.
Namespace: MindFusion.Diagramming
Package: Diagram.js
JavaScript Copy Code |
---|
function saveToString (format) |
A member of the SaveToStringFormat enumeration.
Type: String
A string containing the diagram's serialized representation.