Class XpsConverterToImageOptions

Class XpsConverterToImageOptions

名称: Aspose.Page.Plugins 集合: Aspose.Page.dll (25.4.0)

代表 XPS 到 图像转换器选项为 Aspose.Page.Plugins.XpsConverter 插件。

public sealed class XpsConverterToImageOptions : XpsConverterOptions, IPluginOptions

Inheritance

object XpsConverterOptions XpsConverterToImageOptions

Implements

IPluginOptions

继承人

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()

启动 Aspose.Page.Plugins.XpsConverterToImageOptions 对象的新例子,默认选项。

public XpsConverterToImageOptions()

XpsConverterToImageOptions(ImageFormat)

启动 Aspose.Page.Plugins.XpsConverterToImageOptions 对象与图像格式的新例子。

public XpsConverterToImageOptions(ImageFormat imageFormat)

Parameters

imageFormat ImageFormat

结果图像的格式。

XpsConverterToImageOptions(Size)

启动 Aspose.Page.Plugins.XpsConverterToImageOptions 对象的新例子,以结果图像的尺寸。

public XpsConverterToImageOptions(Size size)

Parameters

size Size

一个尺寸的结果图像。

XpsConverterToImageOptions(图像,大小)

启动 Aspose.Page.Plugins.XpsConverterToImageOptions 对象的新例子,图像格式和结果图像的尺寸。

public XpsConverterToImageOptions(ImageFormat imageFormat, Size size)

Parameters

imageFormat ImageFormat

结果图像的格式。

size Size

一个尺寸的结果图像。

Properties

ImageFormat

接收/设置图像类型。

public ImageFormat ImageFormat { get; set; }

财产价值

ImageFormat

OperationName

返回操作名称

public override string OperationName { get; }

财产价值

string

PageNumbers

在 XPS 文档中获取/设置转换页数的序列. 如果不设置,则将转换所有页面。

public int[] PageNumbers { get; set; }

财产价值

int ( )

Resolution

接收/设置图像分辨率。

public float Resolution { get; set; }

财产价值

float

Size

接收/设置结果图像的大小。

public Size Size { get; set; }

财产价值

Size

SmoothingMode

接收/设置放松模式,以便显示图像。

public SmoothingMode? SmoothingMode { get; set; }

财产价值

SmoothingMode ?

 中文