Class XpsConverterToImageOptions
Namespace: Aspose.Page.Plugins
Assembly: Aspose.Page.dll (25.8.0)
Represents XPS to Image converter options for Aspose.Page.Plugins.XpsConverter plugin.
public sealed class XpsConverterToImageOptions : XpsConverterOptions, IPluginOptionsInheritance
object ← XpsConverterOptions ← XpsConverterToImageOptions
Implements
Inherited Members
XpsConverterOptions.AddDataSource(IDataSource) , XpsConverterOptions.AddSaveDataSource(IDataSource) , XpsConverterOptions.DataCollection , XpsConverterOptions.SaveTargetsCollection , XpsConverterOptions.OperationName , XpsConverterOptions.JpegQualityLevel , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
XpsConverterToImageOptions()
Initializes new instance of the Aspose.Page.Plugins.XpsConverterToImageOptions object with default options.
public XpsConverterToImageOptions()XpsConverterToImageOptions(ImageFormat)
Initializes new instance of the Aspose.Page.Plugins.XpsConverterToImageOptions object with image format.
public XpsConverterToImageOptions(ImageFormat imageFormat)Parameters
imageFormat ImageFormat
A format of resulting image.
XpsConverterToImageOptions(Size)
Initializes new instance of the Aspose.Page.Plugins.XpsConverterToImageOptions object with a size of the resulting image.
public XpsConverterToImageOptions(Size size)Parameters
size Size
A size the resulting image.
XpsConverterToImageOptions(ImageFormat, Size)
Initializes new instance of the Aspose.Page.Plugins.XpsConverterToImageOptions object with image format and a size of the resulting image.
public XpsConverterToImageOptions(ImageFormat imageFormat, Size size)Parameters
imageFormat ImageFormat
A format of resulting image.
size Size
A size the resulting image.
Properties
ImageFormat
Gets/sets the image type.
public ImageFormat ImageFormat { get; set; }Property Value
OperationName
Returns operation name.
public override string OperationName { get; }Property Value
PageNumbers
Gets/sets the array of numbers of pages in XPS document to convert. If not set all pages will be converted.
public int[] PageNumbers { get; set; }Property Value
int []
Resolution
Gets/sets the image resolution.
public float Resolution { get; set; }Property Value
Size
Gets/sets the size of the resulting image.
public Size Size { get; set; }Property Value
SmoothingMode
Gets/sets the smoothing mode for rendering image.
public SmoothingMode? SmoothingMode { get; set; }