Class XpsConverterToImageOptions
Namespace: Aspose.Page.Plugins
Assembly: Aspose.Page.dll (25.1.2)
Đại diện cho các tùy chọn chuyển đổi XPS sang hình ảnh cho plugin Aspose.Page.Plugins.XpsConverter.
public sealed class XpsConverterToImageOptions : XpsConverterOptions, IPluginOptions
Kế thừa
object ← XpsConverterOptions ← XpsConverterToImageOptions
Triển khai
Các thành viên kế thừa
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()
Các hàm khởi tạo
XpsConverterToImageOptions()
Khởi tạo một thể hiện mới của đối tượng Aspose.Page.Plugins.XpsConverterToImageOptions với các tùy chọn mặc định.
public XpsConverterToImageOptions()
XpsConverterToImageOptions(ImageFormat)
Khởi tạo một thể hiện mới của đối tượng Aspose.Page.Plugins.XpsConverterToImageOptions với định dạng hình ảnh.
public XpsConverterToImageOptions(ImageFormat imageFormat)
Tham số
imageFormat
ImageFormat
Định dạng của hình ảnh kết quả.
XpsConverterToImageOptions(Size)
Khởi tạo một thể hiện mới của đối tượng Aspose.Page.Plugins.XpsConverterToImageOptions với kích thước của hình ảnh kết quả.
public XpsConverterToImageOptions(Size size)
Tham số
size
Size
Kích thước của hình ảnh kết quả.
XpsConverterToImageOptions(ImageFormat, Size)
Khởi tạo một thể hiện mới của đối tượng Aspose.Page.Plugins.XpsConverterToImageOptions với định dạng hình ảnh và kích thước của hình ảnh kết quả.
public XpsConverterToImageOptions(ImageFormat imageFormat, Size size)
Tham số
imageFormat
ImageFormat
Định dạng của hình ảnh kết quả.
size
Size
Kích thước của hình ảnh kết quả.
Thuộc tính
ImageFormat
Lấy/cài đặt loại hình ảnh.
public ImageFormat ImageFormat { get; set; }
Giá trị thuộc tính
OperationName
Trả về tên thao tác.
public override string OperationName { get; }
Giá trị thuộc tính
PageNumbers
Lấy/cài đặt mảng số trang trong tài liệu XPS để chuyển đổi. Nếu không được thiết lập, tất cả các trang sẽ được chuyển đổi.
public int[] PageNumbers { get; set; }
Giá trị thuộc tính
int[]
Resolution
Lấy/cài đặt độ phân giải hình ảnh.
public float Resolution { get; set; }
Giá trị thuộc tính
Size
Lấy/cài đặt kích thước của hình ảnh kết quả.
public Size Size { get; set; }
Giá trị thuộc tính
SmoothingMode
Lấy/cài đặt chế độ làm mịn cho việc hiển thị hình ảnh.
public SmoothingMode? SmoothingMode { get; set; }