public class XpsConverterOptions extends Object implements IPluginOptions, IDataContainer, ISaveInstruction
Represents base class of options for XpsConverter plugin.
| Modifier and Type | Method and Description |
|---|---|
void |
addDataSource(IDataSource dataSource)
Adds new data source to the XpsConverter plugin data collection.
|
void |
addSaveDataSource(IDataSource saveDataSource)
Adds new data source to the XpsConverterOptions plugin data collection.
|
List<IDataSource> |
getDataCollection()
Returns XpsConverterOptions plugin data collection.
|
int |
getJpegQualityLevel()
Returns the value specifying the level of compression for an image.
|
String |
getOperationName()
Returns operation name.
|
List<IDataSource> |
getSaveTargetsCollection()
Gets collection of added targets for saving operation results.
|
void |
setJpegQualityLevel(int value)
Sets the value specifying the level of compression for an image.
|
public final List<IDataSource> getDataCollection()
Returns XpsConverterOptions plugin data collection.
getDataCollection in interface IDataContainerpublic final void addDataSource(IDataSource dataSource)
Adds new data source to the XpsConverter plugin data collection.
addDataSource in interface IDataContainerdataSource - Data source to add.public final List<IDataSource> getSaveTargetsCollection()
Gets collection of added targets for saving operation results.
getSaveTargetsCollection in interface ISaveInstructionpublic final void addSaveDataSource(IDataSource saveDataSource)
Adds new data source to the XpsConverterOptions plugin data collection.
addSaveDataSource in interface ISaveInstructionsaveDataSource - Data source (file or stream) for saving operation results.public String getOperationName()
Returns operation name.
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.
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.
value - The value specifying the level of compression for an image.Copyright © 2025 Aspose. All Rights Reserved.