Search
XmlPersistContext.readInt Method
See Also
 





Reads an integer number with the specified name.

Namespace: MindFusion.Diagramming
Package: XmlPersistContext.js

 Syntax

JavaScript  Copy Code

function readInt (elementName, parentElement, [defaultValue])

 Parameters

elementName

String. A string specifying the name of the number XML element.

parentElement

Element. The parent DOM Element object.

defaultValue
Optional.

Number. The default number to return if specified child XML element does not exist.

 Return Value

Number. The number loaded from XML.

 See Also