ImageSaveOptions

Inheritance: java.lang.Object, com.aspose.page.SaveOptions

All Implemented Interfaces: com.aspose.page.IMultiPageSaveOptions

public abstract class ImageSaveOptions extends SaveOptions implements IMultiPageSaveOptions

Basic class for XPS-as-image saving options.

Constructors

ConstructorDescription
ImageSaveOptions()Creates new instance of options

Methods

MethodDescription
getPageNumbers()Gets the array of numbers of pages to render.
setPageNumbers(int[] value)Sets the array of numbers of pages to render.
getResolution()Gets the image resolution.
setResolution(float value)Sets the image resolution.
getSmoothingMode()Gets the smoothing mode.
setSmoothingMode(SmoothingMode value)Sets the smoothing mode.
getTextRenderingHint()Gets the text rendering hint.
setTextRenderingHint(TextRenderingHint value)Sets the text rendering hint.
getInterpolationMode()Gets the interpolation mode.
setInterpolationMode(InterpolationMode value)Sets the interpolation mode.

ImageSaveOptions()

public ImageSaveOptions()

Creates new instance of options

getPageNumbers()

public int[] getPageNumbers()

Gets the array of numbers of pages to render.

Returns: int[] - Numbers of pages.

setPageNumbers(int[] value)

public void setPageNumbers(int[] value)

Sets the array of numbers of pages to render.

Parameters:

ParameterTypeDescription
valueint[]Numbers of pages.

getResolution()

public float getResolution()

Gets the image resolution.

Returns: float - The image resolution.

setResolution(float value)

public void setResolution(float value)

Sets the image resolution.

Parameters:

ParameterTypeDescription
valuefloatThe image resolution.

getSmoothingMode()

public SmoothingMode getSmoothingMode()

Gets the smoothing mode.

Returns: SmoothingMode - The smoothing mode.

setSmoothingMode(SmoothingMode value)

public void setSmoothingMode(SmoothingMode value)

Sets the smoothing mode.

Parameters:

ParameterTypeDescription
valueSmoothingModeThe smoothing mode.

getTextRenderingHint()

public TextRenderingHint getTextRenderingHint()

Gets the text rendering hint.

Returns: TextRenderingHint - The text rendering hint.

setTextRenderingHint(TextRenderingHint value)

public void setTextRenderingHint(TextRenderingHint value)

Sets the text rendering hint.

Parameters:

ParameterTypeDescription
valueTextRenderingHintThe text rendering hint.

getInterpolationMode()

public InterpolationMode getInterpolationMode()

Gets the interpolation mode.

Returns: InterpolationMode - The interpolation mode.

setInterpolationMode(InterpolationMode value)

public void setInterpolationMode(InterpolationMode value)

Sets the interpolation mode.

Parameters:

ParameterTypeDescription
valueInterpolationModeThe interpolation mode.