aspose.diagram

Class SolutionXML

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

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
functiongetName()
function
setName(value)
           A unique name to identify the XML data set.
functiongetXmlValue()
function
           Contains solution-specific, well-formed XML data that is prefixed in an explicit namespace and is stored with a document.
 
Method Summary
functiondeepClone()
Creates deep copy of this instance.
 

    • Constructor Detail

      • SolutionXML

        function SolutionXML(name, xmlValue)
        Constructor.
        Parameters:
        name: String -
        xmlValue: String -
      • SolutionXML

        function SolutionXML()
        Constructor.
    • Property Getters/Setters Detail

      • getName/setName : String 

        function getName() / function setName(value)
        
        A unique name to identify the XML data set.
      • getXmlValue/setXmlValue : String 

        function getXmlValue() / function setXmlValue(value)
        
        Contains solution-specific, well-formed XML data that is prefixed in an explicit namespace and is stored with a document.
    • Method Detail

      • deepClone

        function deepClone()
        Creates deep copy of this instance.
        Returns: