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);
Constructor Summary |
---|
SolutionXML(name, xmlValue)
Constructor. |
SolutionXML()
Constructor. |
Property Getters/Setters Summary | ||
---|---|---|
method | getName() | |
method | setName(value) | |
A unique name to identify the XML data set. | ||
method | getXmlValue() | |
method | setXmlValue(value) | |
Contains solution-specific, well-formed XML data that is prefixed in an explicit namespace and is stored with a document. |
Method Summary | ||
---|---|---|
method | deepClone() | |
Creates deep copy of this instance.
|
SolutionXML(name, xmlValue)
name: String
- xmlValue: String
- SolutionXML()
String getName() / setName(value)
String getXmlValue() / setXmlValue(value)