Writes a reference to the specified image. The image is registered within the internal hashtable for subsequent serialization.
Namespace: MindFusion.Diagramming
Package: XmlPersistContext.js
JavaScript Copy Code |
---|
function writeImage (image, elementName, parentElement) |
Base64-encoded image data that should be saved in XML.
A string specifying the name of the new element.
The parent DOM Element object.
Type: Element
The newly created DOM Element object.