aspose.diagram
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
functiongetLoadFormat()
functionsetLoadFormat(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.
functiongetPages()
functionsetPages(value)
           Specifies the index of the pages to be loaded.
 

Constructor Detail

LoadOptions

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

LoadOptions

function LoadOptions(format)
Initializes a new instance of this class with the format specified.
Parameters:
format: Number - A LoadFileFormat value. LoadFileFormat load file format.

Property Getters/Setters Detail

getLoadFormat/setLoadFormat : Number 

function getLoadFormat() / function 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 

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

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cellss Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.