public abstract class ImageSaveOptions extends SaveOptions implements IMultiPageSaveOptions, IPipelineOptions, IEventBasedModificationOptions
Basic class for XPS-as-image saving options.
| Constructor and Description |
|---|
ImageSaveOptions()
Creates new instance of options
|
| Modifier and Type | Method and Description |
|---|---|
int |
getBatchSize()
Returns the size of a portion of pages to pass from node to node.
|
List<BeforePageSavingEventHandler> |
getBeforePageSavingEventHandlers()
Returns the collection of event handlers that performs modifications to an XPS page just before it is saved.
|
Dimension |
getImageSize()
Gets the size of the output images in pixels.
|
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.
|
TextRenderingHint |
getTextRenderingHint()
Gets the text rendering hint.
|
void |
setBatchSize(int value)
Sets the size of a portion of pages to pass from node to node.
|
void |
setImageSize(Dimension value)
Sets the size of the output images in pixels.
|
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.
|
void |
setTextRenderingHint(TextRenderingHint value)
Sets the text rendering hint.
|
getAdditionalFontsFolders, getConvertFontsToTTF, getExceptions, getJpegQualityLevel, getSize, isDebug, isSupressErrors, setAdditionalFontsFolders, setConvertFontsToTTF, setDebug, setJpegQualityLevel, setSize, setSupressErrorspublic int[] getPageNumbers()
Gets the array of numbers of pages to render.
getPageNumbers in interface IMultiPageSaveOptionspublic void setPageNumbers(int[] value)
Sets the array of numbers of pages to render.
setPageNumbers in interface IMultiPageSaveOptionsvalue - 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 TextRenderingHint getTextRenderingHint()
Gets the text rendering hint.
public void setTextRenderingHint(TextRenderingHint value)
Sets the text rendering hint.
value - The text rendering hint.public InterpolationMode getInterpolationMode()
Gets the interpolation mode.
public void setInterpolationMode(InterpolationMode value)
Sets the interpolation mode.
value - The interpolation mode.public Dimension getImageSize()
Gets the size of the output images in pixels.
public void setImageSize(Dimension value)
Sets the size of the output images in pixels.
value - The size of the output images in pixels.public int getBatchSize()
Returns the size of a portion of pages to pass from node to node.
getBatchSize in interface IPipelineOptionspublic void setBatchSize(int value)
Sets the size of a portion of pages to pass from node to node.
setBatchSize in interface IPipelineOptionsvalue - The size of a portion of pages to pass from node to node.public List<BeforePageSavingEventHandler> getBeforePageSavingEventHandlers()
Returns the collection of event handlers that performs modifications to an XPS page just before it is saved.
getBeforePageSavingEventHandlers in interface IEventBasedModificationOptionsCopyright © 2025 Aspose. All Rights Reserved.