public class XpsConverterToImageOptions extends XpsConverterOptions
Represents XPS to Image converter options for XpsConverter plugin.
| Constructor and Description |
|---|
XpsConverterToImageOptions()
Initializes new instance of the
XpsConverterToImageOptions object. |
XpsConverterToImageOptions(Dimension size)
Initializes new instance of the
XpsConverterToImageOptions object with a size of the resulting image. |
XpsConverterToImageOptions(ImageFormat imageFormat)
Initializes new instance of the
XpsConverterToImageOptions object with image format. |
XpsConverterToImageOptions(ImageFormat imageFormat,
Dimension size)
Initializes new instance of the
XpsConverterToImageOptions object with image format. |
| Modifier and Type | Method and Description |
|---|---|
ImageFormat |
getImageFormat()
Gets image format.
|
String |
getOperationName()
Returns operation name.
|
int[] |
getPageNumbers()
Gets the array of numbers of pages in XPS document to convert.
|
int |
getResolution()
Gets the image resolution.
|
Dimension |
getSize()
Gets the size of the resulting image.
|
SmoothingMode |
getSmoothingMode()
Gets the smoothing mode for rendering image.
|
void |
setImageFormat(ImageFormat imageFormat)
Gets image format.
|
void |
setPageNumbers(int[] pageNumbers)
Sets the array of numbers of pages in XPS document to convert.
|
void |
setResolution(int resolution)
Sets the image resolution.
|
void |
setSize(Dimension size)
Sets the size of the resulting image.
|
void |
setSmoothingMode(SmoothingMode smoothingMode)
Sets the smoothing mode for rendering image.
|
addDataSource, addSaveDataSource, getDataCollection, getJpegQualityLevel, getSaveTargetsCollection, setJpegQualityLevelpublic XpsConverterToImageOptions()
Initializes new instance of the XpsConverterToImageOptions object.
public XpsConverterToImageOptions(ImageFormat imageFormat)
Initializes new instance of the XpsConverterToImageOptions object with image format.
imageFormat - A format of resulting image.public XpsConverterToImageOptions(Dimension size)
Initializes new instance of the XpsConverterToImageOptions object with a size of the resulting image.
size - A size the resulting image.public XpsConverterToImageOptions(ImageFormat imageFormat, Dimension size)
Initializes new instance of the XpsConverterToImageOptions object with image format.
imageFormat - A format of resulting image.public final String getOperationName()
Returns operation name.
getOperationName in class XpsConverterOptionspublic ImageFormat getImageFormat()
Gets image format.
public void setImageFormat(ImageFormat imageFormat)
Gets image format.
imageFormat - A format of resulting image.public Dimension getSize()
Gets the size of the resulting image.
public void setSize(Dimension size)
Sets the size of the resulting image.
size - A size of resulting image.public int getResolution()
Gets the image resolution.
public void setResolution(int resolution)
Sets the image resolution.
resolution - A resolution of resulting image.public SmoothingMode getSmoothingMode()
Gets the smoothing mode for rendering image.
public void setSmoothingMode(SmoothingMode smoothingMode)
Sets the smoothing mode for rendering image.
smoothingMode - A smoothing mode.public int[] getPageNumbers()
Gets the array of numbers of pages in XPS document to convert.
public void setPageNumbers(int[] pageNumbers)
Sets the array of numbers of pages in XPS document to convert. If not set all pages will be converted.
pageNumbers - An array of numbers of pages in XPS document.Copyright © 2025 Aspose. All Rights Reserved.