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