Search
DiagramItem.loadFromXml Method
See Also
 





Loads the item content from an XML element.

Namespace: MindFusion.Diagramming
Package: DiagramItem.js

 Syntax

JavaScript  Copy Code

function loadFromXml (xmlElement, context)

 Parameters

xmlElement

Element. An XML DOM element that contains the item's serialized content.

context

An XmlPersistContext object providing contextual information about the serialization process and some helper serialization methods.

 See Also