ImageSaveOptions

Inheritance: java.lang.Object, com.aspose.tex.rendering.SaveOptions

public abstract class ImageSaveOptions extends SaveOptions

Basic class representing options of saving to raster images.

Constructors

ConstructorDescription
ImageSaveOptions()Creates new instance of options

Methods

MethodDescription
getResolution()Gets the image resolution.
setResolution(float value)Sets the image resolution.
getSmoothingMode()Gets the smoothing mode.
setSmoothingMode(SmoothingMode value)Sets the smoothing mode.
getInterpolationMode()Gets the interpolation mode.
setInterpolationMode(InterpolationMode value)Sets the interpolation mode.
deviceWritesImages()Gets the flag that determines whether the image device will write output images.
deviceWritesImages(boolean value)Sets the flag that determines whether the image device will write output images.

ImageSaveOptions()

public ImageSaveOptions()

Creates new instance of options

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.

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.

deviceWritesImages()

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.

Returns: boolean - The flag that determines whether the image device will write output images.

deviceWritesImages(boolean value)

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.

Parameters:

ParameterTypeDescription
valuebooleanThe flag that determines whether the image device will write output images.