Search
XmlPersistContext.writeImage Method
See Also
 





Writes a reference to the specified image. The image is registered within the internal hashtable for subsequent serialization.

Namespace: MindFusion.Diagramming
Package: XmlPersistContext.js

 Syntax

JavaScript  Copy Code

function writeImage (image, elementName, parentElement)

 Parameters

image

String. Base64-encoded image data that should be saved in XML.

elementName

String. A string specifying the name of the new element.

parentElement

Element. The parent DOM Element object.

 Return Value

Element. The newly created DOM Element object.

 See Also