new LoadOptions()

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

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);

Methods

constructor_overload$1(format)

Initializes a new instance of this class with the format specified.

Parameter

Name Type Optional Description

format

Number

 

LoadFileFormat

getFontConfigs()

Gets and sets individual font configs. Only works for the Diagram which uses this LoadOptions to load.

getInterruptMonitor()

Gets and sets the interrupt monitor.

getLoadFilter()

The filter to denote how to load data.

getLoadFormat()

Specifies the format of the diagram to be loaded. Default is LoadFileFormat. Read/write LoadFileFormat. The value of the property is LoadFileFormat integer constant.

getLocale()

Gets and sets the Locale used for diagram at the time the file was loaded.

getPages()

Specifies the index of the pages to be loaded.

setFontConfigs()

Gets and sets individual font configs. Only works for the Diagram which uses this LoadOptions to load.

setInterruptMonitor()

Gets and sets the interrupt monitor.

setLoadFilter()

The filter to denote how to load data.

setLoadFormat()

Specifies the format of the diagram to be loaded. Default is LoadFileFormat. Read/write LoadFileFormat. The value of the property is LoadFileFormat integer constant.

setLocale()

Gets and sets the Locale used for diagram at the time the file was loaded.

setPages()

Specifies the index of the pages to be loaded.