Class XpsConverterToImageOptions
Nom dels espais: Aspose.Page.Plugins Assemblea: Aspose.Page.dll (25.4.0)
Representa les opcions de convertidor d’imatge de XPS a Aspose.Page.Plugins.XpsConverter plugin.
public sealed class XpsConverterToImageOptions : XpsConverterOptions, IPluginOptions
Inheritance
object ← XpsConverterOptions ← XpsConverterToImageOptions
Implements
Membres heretats
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()
Inicialitza una nova instància de l’objecte Aspose.Page.Plugins.XpsConverterToImageOptions amb opcions predefinides.
public XpsConverterToImageOptions()
XpsConverterToImageOptions(ImageFormat)
Inicialitza una nova instància de l’objecte Aspose.Page.Plugins.XpsConverterToImageOptions amb el format d’imatge.
public XpsConverterToImageOptions(ImageFormat imageFormat)
Parameters
imageFormat
ImageFormat
Un format d’imatge resultant.
XpsConverterToImageOptions(Size)
Inicialitza una nova instància de l’objecte Aspose.Page.Plugins.XpsConverterToImageOptions amb una mida de la imatge resultant.
public XpsConverterToImageOptions(Size size)
Parameters
size
Size
Una mida de la imatge resultant.
XpsConverterToImageOptions(Imatge, mida)
Inicialitza una nova instància de l’objecte Aspose.Page.Plugins.XpsConverterToImageOptions amb format d’imatge i una mida de la imatge resultant.
public XpsConverterToImageOptions(ImageFormat imageFormat, Size size)
Parameters
imageFormat
ImageFormat
Un format d’imatge resultant.
size
Size
Una mida de la imatge resultant.
Properties
ImageFormat
Obté/seta el tipus d’imatge.
public ImageFormat ImageFormat { get; set; }
Valor de la propietat
OperationName
Torna el nom d’operaci.
public override string OperationName { get; }
Valor de la propietat
PageNumbers
Obté/seta l’arrel de nombres de pàgines en el document XPS per convertir. si no s’estableix, totes les pàgs es convertiran.
public int[] PageNumbers { get; set; }
Valor de la propietat
int []
Resolution
Obté/seta la resolució de la imatge.
public float Resolution { get; set; }
Valor de la propietat
Size
Obté/seta la mida de la imatge resultant.
public Size Size { get; set; }
Valor de la propietat
SmoothingMode
Obté/seta el mode de suavitat per a la renderització d’imatge.
public SmoothingMode? SmoothingMode { get; set; }