Class XpsConverterToImageOptions
XpsConverterToImageOptions class
Represents XPS to Image converter options for XpsConverter plugin.
public sealed class XpsConverterToImageOptions : XpsConverterOptions
Constructors
| Name | Description |
|---|
| XpsConverterToImageOptions() | Initializes new instance of the XpsConverterToImageOptions object with default options. |
| XpsConverterToImageOptions(ImageFormat) | Initializes new instance of the XpsConverterToImageOptions object with image format. |
| XpsConverterToImageOptions(Size) | Initializes new instance of the XpsConverterToImageOptions object with a size of the resulting image. |
| XpsConverterToImageOptions(ImageFormat, Size) | Initializes new instance of the XpsConverterToImageOptions object with image format and a size of the resulting image. |
Properties
| Name | Description |
|---|
| DataCollection { get; } | Returns XpsConverterOptions plugin data collection. |
| ImageFormat { get; set; } | Gets/sets the image type. |
| JpegQualityLevel { get; set; } | 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. |
| override OperationName { get; } | Returns operation name. |
| PageNumbers { get; set; } | Gets/sets the array of numbers of pages in XPS document to convert. If not set all pages will be converted. |
| Resolution { get; set; } | Gets/sets the image resolution. |
| SaveTargetsCollection { get; } | Gets collection of added targets for saving operation results. |
| Size { get; set; } | Gets/sets the size of the resulting image. |
| SmoothingMode { get; set; } | Gets/sets the smoothing mode for rendering image. |
Methods
| Name | Description |
|---|
| AddDataSource(IDataSource) | Adds new data source to the XpsConverter plugin data collection. |
| AddSaveDataSource(IDataSource) | Adds new data source to the XpsConverterOptions plugin data collection. |
See Also