ASP.NET Pack Programmer's Guide
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

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

elementName

A string specifying the name of the new element.

parentElement

The parent DOM Element object.

 Return Value

Type: Element
The newly created DOM Element object.

 See Also

XmlPersistContext Members
XmlPersistContext Class
MindFusion.Diagramming Namespace