LoadOptions

Inheritance: java.lang.Object

public class LoadOptions

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

Constructors

ConstructorDescription
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.

Methods

MethodDescription
equals(Object arg0)
getClass()
getFontConfigs()individual font configs.
getInterruptMonitor()the interrupt monitor.
getLoadFilter()The filter to denote how to load data.
getLoadFormat()Specifies the format of the diagram to be loaded.
getLocale()the Locale used for diagram at the time the file was loaded.
getPages()Specifies the index of the pages to be loaded.
hashCode()
notify()
notifyAll()
setFontConfigs(IndividualFontConfigs value)For the description of this property, please see getFontConfigs()
setInterruptMonitor(AbstractInterruptMonitor value)For the description of this property, please see getInterruptMonitor()
setLoadFilter(LoadFilter value)For the description of this property, please see getLoadFilter()
setLoadFormat(int value)For the description of this property, please see getLoadFormat()
setLocale(Locale value)For the description of this property, please see getLocale()
setPages(ArrayList value)For the description of this property, please see getPages()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

LoadOptions()

public LoadOptions()

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

LoadOptions(int format)

public LoadOptions(int format)

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

Parameters:

ParameterTypeDescription
formatintAspose.Diagram.LoadFileFormat load file format.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getFontConfigs()

public IndividualFontConfigs getFontConfigs()

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

Returns: IndividualFontConfigs

getInterruptMonitor()

public AbstractInterruptMonitor getInterruptMonitor()

the interrupt monitor.

Returns: AbstractInterruptMonitor

getLoadFilter()

public LoadFilter getLoadFilter()

The filter to denote how to load data.

Returns: LoadFilter

getLoadFormat()

public int getLoadFormat()

Specifies the format of the diagram to be loaded. Default is Aspose.Diagram.LoadFileFormat. Read/write Aspose.Diagram.LoadFileFormat.

Returns: int

getLocale()

public Locale getLocale()

the Locale used for diagram at the time the file was loaded.

Returns: java.util.Locale

getPages()

public ArrayList getPages()

Specifies the index of the pages to be loaded.

Returns: java.util.ArrayList

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setFontConfigs(IndividualFontConfigs value)

public void setFontConfigs(IndividualFontConfigs value)

For the description of this property, please see getFontConfigs()

Parameters:

ParameterTypeDescription
valueIndividualFontConfigs

setInterruptMonitor(AbstractInterruptMonitor value)

public void setInterruptMonitor(AbstractInterruptMonitor value)

For the description of this property, please see getInterruptMonitor()

Parameters:

ParameterTypeDescription
valueAbstractInterruptMonitor

setLoadFilter(LoadFilter value)

public void setLoadFilter(LoadFilter value)

For the description of this property, please see getLoadFilter()

Parameters:

ParameterTypeDescription
valueLoadFilter

setLoadFormat(int value)

public void setLoadFormat(int value)

For the description of this property, please see getLoadFormat()

Parameters:

ParameterTypeDescription
valueint

setLocale(Locale value)

public void setLocale(Locale value)

For the description of this property, please see getLocale()

Parameters:

ParameterTypeDescription
valuejava.util.Locale

setPages(ArrayList value)

public void setPages(ArrayList value)

For the description of this property, please see getPages()

Parameters:

ParameterTypeDescription
valuejava.util.ArrayList

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int