com.aspose.diagram
Class LoadOptions

java.lang.Object
    extended by com.aspose.diagram.LoadOptions

public class LoadOptions 
extends java.lang.Object

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

Constructor Summary
LoadOptions()
           Initializes a new instance of this class with default values.
LoadOptions(int format)
           Initializes a new instance of this class with the format specified.
 
Property Getters/Setters Summary
AbstractInterruptMonitorgetInterruptMonitor()
voidsetInterruptMonitor(AbstractInterruptMonitor value)
           Gets and sets the interrupt monitor.
intgetLoadFormat()
voidsetLoadFormat(int 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.
java.util.ArrayListgetPages()
voidsetPages(java.util.ArrayList value)
           Specifies the index of the pages to be loaded.
 

Constructor Detail

LoadOptions

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

LoadOptions

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

Property Getters/Setters Detail

getLoadFormat/setLoadFormat

public int getLoadFormat() / public void setLoadFormat(int 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

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

getInterruptMonitor/setInterruptMonitor

public AbstractInterruptMonitor getInterruptMonitor() / public void setInterruptMonitor(AbstractInterruptMonitor value)
Gets and sets the interrupt monitor.

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