new SolutionXML(name, xmlValue)

Constructor.

Example

var aspose = aspose || {};
aspose.diagram = require("aspose.diagram");
diagram = new aspose.diagram.Diagram("SolutionXML.vsdx");
// initialize SolutionXML object
solXML = new aspose.diagram.SolutionXML();
// set name
solXML.setName("Solution XML");
// set xml value
solXML.setXmlValue("XML Value");
// add SolutionXML element
diagram.getSolutionXMLs().add(solXML);
diagram.save("out-AddSolutionXMLElement.vsdx", aspose.diagram.SaveFileFormat.VSDX);

Parameters

Name Type Optional Description

name

 

 

xmlValue

 

 

Methods

constructor_overload$1()

Constructor.

deepClone() → Object

Creates deep copy of this instance.

Returns

Object 

getName()

A unique name to identify the XML data set.

getXmlValue()

Contains solution-specific, well-formed XML data that is prefixed in an explicit namespace and is stored with a document.

setName()

A unique name to identify the XML data set.

setXmlValue()

Contains solution-specific, well-formed XML data that is prefixed in an explicit namespace and is stored with a document.