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
Constructor | Description |
---|---|
ImageSaveOptions() | Creates new instance of options |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
value | float | The 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:
Parameter | Type | Description |
---|---|---|
value | SmoothingMode | The 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:
Parameter | Type | Description |
---|---|---|
value | InterpolationMode | The 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:
Parameter | Type | Description |
---|---|---|
value | boolean | The flag that determines whether the image device will write output images. |