public abstract class ImageSaveOptions extends SaveOptions
Basic class for XPS-as-image saving options.
Constructor and Description |
---|
ImageSaveOptions()
Creates new instance of options
|
Modifier and Type | Method and Description |
---|---|
boolean |
deviceWritesImages()
Gets the flag that determines whether the image device will write output images.
|
void |
deviceWritesImages(boolean value)
Sets the flag that determines whether the image device will write output images.
|
InterpolationMode |
getInterpolationMode()
Gets the interpolation mode.
|
int[] |
getPageNumbers()
Gets the array of numbers of pages to render.
|
float |
getResolution()
Gets the image resolution.
|
SmoothingMode |
getSmoothingMode()
Gets the smoothing mode.
|
void |
setInterpolationMode(InterpolationMode value)
Sets the interpolation mode.
|
void |
setPageNumbers(int[] value)
Sets the array of numbers of pages to render.
|
void |
setResolution(float value)
Sets the image resolution.
|
void |
setSmoothingMode(SmoothingMode value)
Sets the smoothing mode.
|
rasterizeFormulas, rasterizeFormulas, rasterizeIncludedGraphics, rasterizeIncludedGraphics, subsetFonts, subsetFonts
public int[] getPageNumbers()
Gets the array of numbers of pages to render.
public void setPageNumbers(int[] value)
Sets the array of numbers of pages to render.
value
- Numbers of pages.public float getResolution()
Gets the image resolution.
public void setResolution(float value)
Sets the image resolution.
value
- The image resolution.public SmoothingMode getSmoothingMode()
Gets the smoothing mode.
public void setSmoothingMode(SmoothingMode value)
Sets the smoothing mode.
value
- The smoothing mode.public InterpolationMode getInterpolationMode()
Gets the interpolation mode.
public void setInterpolationMode(InterpolationMode value)
Sets the interpolation mode.
value
- The interpolation mode.public boolean deviceWritesImages()
Gets the flag that determines whether the image device will write output images.
Set it to false
if you are planning to write images using arrays returned by
image device's getResult()
method.
public void deviceWritesImages(boolean value)
Sets the flag that determines whether the image device will write output images.
Set it to false
if you are planning to write images using arrays returned by
image device's getResult()
method.
value
- The flag that determines whether the image device will write output images.Copyright © 2022 Aspose. All Rights Reserved.