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
IndividualFontConfigsgetFontConfigs()
voidsetFontConfigs(IndividualFontConfigs)
           Gets and sets individual font configs. Only works for the Diagram which uses this LoadOptions to load.
AbstractInterruptMonitorgetInterruptMonitor()
voidsetInterruptMonitor(AbstractInterruptMonitor)
           Gets and sets the interrupt monitor.
LoadFiltergetLoadFilter()
voidsetLoadFilter(LoadFilter)
           The filter to denote how to load data.
intgetLoadFormat()
voidsetLoadFormat(int)
           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.LocalegetLocale()
voidsetLocale(java.util.Locale)
           Gets and sets the Locale used for diagram at the time the file was loaded.
java.util.ArrayListgetPages()
voidsetPages(java.util.ArrayList)
           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.

getLoadFilter/setLoadFilter

public LoadFilter getLoadFilter() / public void setLoadFilter(LoadFilter value)
The filter to denote how to load data.

getInterruptMonitor/setInterruptMonitor

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

getFontConfigs/setFontConfigs

public IndividualFontConfigs getFontConfigs() / public void setFontConfigs(IndividualFontConfigs value)
Gets and sets individual font configs. Only works for the Diagram which uses this LoadOptions to load.

getLocale/setLocale

public java.util.Locale getLocale() / public void setLocale(java.util.Locale value)
Gets and sets the Locale used for diagram at the time the file was loaded.

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