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) |
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.
NetDiagram Programmer's Guide | © 2023 MindFusion |