XpsConverterOptions

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.page.plugins.IPluginOptions, com.aspose.page.plugins.IDataContainer, com.aspose.page.plugins.ISaveInstruction

public class XpsConverterOptions implements IPluginOptions, IDataContainer, ISaveInstruction

Represents base class of options for XpsConverter plugin.

Methods

MethodDescription
addDataSource(IDataSource dataSource)Adds new data source to the XpsConverter plugin data collection.
addSaveDataSource(IDataSource saveDataSource)Adds new data source to the XpsConverterOptions plugin data collection.
equals(Object arg0)
getClass()
getDataCollection()Returns XpsConverterOptions plugin data collection.
getJpegQualityLevel()Returns the value specifying the level of compression for an image.
getOperationName()Returns operation name.
getSaveTargetsCollection()Gets collection of added targets for saving operation results.
hashCode()
notify()
notifyAll()
setJpegQualityLevel(int value)Sets the value specifying the level of compression for an image.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

addDataSource(IDataSource dataSource)

public final void addDataSource(IDataSource dataSource)

Adds new data source to the XpsConverter plugin data collection.

Parameters:

ParameterTypeDescription
dataSourceIDataSourceData source to add.

addSaveDataSource(IDataSource saveDataSource)

public final void addSaveDataSource(IDataSource saveDataSource)

Adds new data source to the XpsConverterOptions plugin data collection.

Parameters:

ParameterTypeDescription
saveDataSourceIDataSourceData source (file or stream) for saving operation results.

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

getDataCollection()

public final List<IDataSource> getDataCollection()

Returns XpsConverterOptions plugin data collection.

Returns: java.util.List<com.aspose.page.plugins.IDataSource>

getJpegQualityLevel()

public int getJpegQualityLevel()

Returns the value specifying the level of compression for an image. Available values are 0 to 100. The lower the number specified, the higher the compression and therefore the lower the quality of the image. 0 value results in lowest quality image, while 100 results in highest.

Returns: int - The value specifying the level of compression for an image.

getOperationName()

public String getOperationName()

Returns operation name.

Returns: java.lang.String

getSaveTargetsCollection()

public final List<IDataSource> getSaveTargetsCollection()

Gets collection of added targets for saving operation results.

Returns: java.util.List<com.aspose.page.plugins.IDataSource>

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setJpegQualityLevel(int value)

public void setJpegQualityLevel(int value)

Sets the value specifying the level of compression for an image. Available values are 0 to 100. The lower the number specified, the higher the compression and therefore the lower the quality of the image. 0 value results in lowest quality image, while 100 results in highest.

Parameters:

ParameterTypeDescription
valueintThe value specifying the level of compression for an image.

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