asposediagram.api

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

    • Constructor Detail

      • SolutionXML

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

        SolutionXML()
        Constructor.
    • Property Getters/Setters Detail

      • getName/setName : String 

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

        String getXmlValue() / 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

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