asposediagram.api

Class LoadOptions

Allows to specify additional options when loading a diagram into a Diagram object.

Example:

var aspose = aspose || {};
aspose.diagram = require("aspose.diagram");

loadOptions = new aspose.diagram.LoadOptions(aspose.diagram.LoadFileFormat.VSX);
vsxDiagram = new aspose.diagram.Diagram("LoadSaveConvert.vsx", loadOptions);

Constructor Summary
LoadOptions()
Initializes a new instance of this class with default values.
LoadOptions(format)
Initializes a new instance of this class with the format specified.
 
Property Getters/Setters Summary
methodgetInterruptMonitor()
method
           Gets and sets the interrupt monitor.
methodgetLoadFormat()
method
           Specifies the format of the diagram to be loaded. Default is LoadFileFormat. Read/write LoadFileFormat. The value of the property is LoadFileFormat integer constant.
methodgetPages()
method
setPages(value)
           Specifies the index of the pages to be loaded.
 

    • Constructor Detail

      • LoadOptions

        LoadOptions()
        Initializes a new instance of this class with default values. Default file format is set as LoadFileFormat.
      • LoadOptions

        LoadOptions(format)
        Initializes a new instance of this class with the format specified.
        Parameters:
        format: int - A LoadFileFormat value. LoadFileFormat load file format.
    • Property Getters/Setters Detail

      • getLoadFormat/setLoadFormat : int 

        int getLoadFormat() / setLoadFormat(value)
        
        Specifies the format of the diagram to be loaded. Default is LoadFileFormat. Read/write LoadFileFormat. The value of the property is LoadFileFormat integer constant.
      • getPages/setPages : ArrayList 

        ArrayList getPages() / setPages(value)
        
        Specifies the index of the pages to be loaded.