ImageSaveOptions
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.page.SaveOptions
public class ImageSaveOptions extends SaveOptions
This class contains options necessary for managing conversion process.
Constructors
Constructor | Description |
---|---|
ImageSaveOptions() | Initialize new instance of ImageSaveOptions class with default values for flags suppressErrors (true) and debug (false). |
ImageSaveOptions(boolean supressErrors) | Initialize new instance of ImageSaveOptions class with default values for flag debug (false). |
Methods
Method | Description |
---|---|
getResolution() | Returns the resolution of the resulting image. |
setResolution(float resolution) | Specifies resolution of resulting image. |
getSmoothingMode() | Gets smoothing mode. |
setSmoothingMode(SmoothingMode smoothingMode) | Sets smoothing mode. |
ImageSaveOptions()
public ImageSaveOptions()
Initialize new instance of ImageSaveOptions class with default values for flags suppressErrors (true) and debug (false).
ImageSaveOptions(boolean supressErrors)
public ImageSaveOptions(boolean supressErrors)
Initialize new instance of ImageSaveOptions class with default values for flag debug (false).
Parameters:
Parameter | Type | Description |
---|---|---|
supressErrors | boolean | If true conversion will be continued despite of non-critical errors. |
getResolution()
public float getResolution()
Returns the resolution of the resulting image.
Returns: float - The resolution of the image.
setResolution(float resolution)
public void setResolution(float resolution)
Specifies resolution of resulting image.
Parameters:
Parameter | Type | Description |
---|---|---|
resolution | float | The resolution of the image. |
getSmoothingMode()
public SmoothingMode getSmoothingMode()
Gets smoothing mode.
Returns: SmoothingMode - the smoothingMode.
setSmoothingMode(SmoothingMode smoothingMode)
public void setSmoothingMode(SmoothingMode smoothingMode)
Sets smoothing mode.
Parameters:
Parameter | Type | Description |
---|---|---|
smoothingMode | SmoothingMode | the smoothingMode to set |