Class XpsConverterOptions
Namespace: Aspose.Page.Plugins
Assembly: Aspose.Page.dll (25.1.2)
Represents options for Aspose.Page.Plugins.XpsConverter plugin.
public class XpsConverterOptions : IPluginOptions
Inheritance
Derived
XpsConverterToImageOptions, XpsConverterToPdfOptions
Implements
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Properties
DataCollection
Returns XpsConverterOptions plugin data collection.
public List<idatasource> DataCollection { get; }
Property Value
List<IDataSource>
JpegQualityLevel
The Quality category specifies 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 int JpegQualityLevel { get; set; }
Property Value
OperationName
Returns operation name.
public virtual string OperationName { get; }
Property Value
SaveTargetsCollection
Gets collection of added targets for saving operation results.
public List<idatasource> SaveTargetsCollection { get; }
Property Value
List<IDataSource>
Methods
AddDataSource(IDataSource)
Adds new data source to the XpsConverter plugin data collection.
public void AddDataSource(IDataSource dataSource)
Parameters
dataSource
IDataSource
Data source to add.
AddSaveDataSource(IDataSource)
Adds new data source to the XpsConverterOptions plugin data collection.
public void AddSaveDataSource(IDataSource saveDataSource)
Parameters
saveDataSource
IDataSource
Data source (file or stream) for saving operation results.