Search
Shape.loadFromXml Method
See Also
 





Loads the shape content from an XML element.

Namespace: MindFusion.Diagramming
Package: Shape.js

 Syntax

JavaScript  Copy Code

function loadFromXml (xmlElement, context)

 Parameters

xmlElement

Element. An XML DOM element that contains the the shape's data.

context

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

 See Also