XpsConverterToPdfOptions

Inheritance: java.lang.Object, com.aspose.xps.plugins.XpsConverterOptions

public class XpsConverterToPdfOptions extends XpsConverterOptions

Represents XPS to PDF converter options for XpsConverter plugin.

Constructors

ConstructorDescription
XpsConverterToPdfOptions()Initializes new instance of the XpsConverterToPdfOptions object.

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.
getPageNumbers()Gets the array of numbers of pages in XPS document to convert.
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.
setPageNumbers(int[] pageNumbers)Sets the array of numbers of pages in XPS document to convert.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

XpsConverterToPdfOptions()

public XpsConverterToPdfOptions()

Initializes new instance of the XpsConverterToPdfOptions object.

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 final String getOperationName()

Returns operation name.

Returns: java.lang.String

getPageNumbers()

public int[] getPageNumbers()

Gets the array of numbers of pages in XPS document to convert.

Returns: int[] - An array of numbers of pages in XPS document.

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.

setPageNumbers(int[] pageNumbers)

public void setPageNumbers(int[] pageNumbers)

Sets the array of numbers of pages in XPS document to convert. If not set all pages will be converted.

Parameters:

ParameterTypeDescription
pageNumbersint[]An array of numbers of pages in XPS document.

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