Foxit PDF SDK
|
Public Member Functions | |
OptimizerSettings () | |
Constructor. More... | |
OptimizerSettings (OptimizerSettings other) | |
Constructor, with another result information object. More... | |
boolean | isEmpty () |
Check whether current object is empty or not. More... | |
void | setColorGrayImageSettings (ImageSettings settings) throws com.foxit.sdk.PDFException |
Set optimazion related settings for color/gray image. More... | |
void | setMonoImageSettings (MonoImageSettings settings) throws com.foxit.sdk.PDFException |
Set optimazion related settings for monochrome image. More... | |
This class represents settings for optimizing a PDF document. It would be used in class Optimizer .
com.foxit.sdk.addon.optimization.OptimizerSettings.OptimizerSettings | ( | ) |
Constructor.
This constructor is to construct a optimizer settings object with default setting options. User can also calling "set" methods in this class to change setting options. Please refer to comment in other settings class (which can be set to current object) for more details about what default setting options are.
com.foxit.sdk.addon.optimization.OptimizerSettings.OptimizerSettings | ( | OptimizerSettings | other | ) |
Constructor, with another result information object.
[in] | other | Another optimizer settings object. |
boolean com.foxit.sdk.addon.optimization.OptimizerSettings.isEmpty | ( | ) |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.
void com.foxit.sdk.addon.optimization.OptimizerSettings.setColorGrayImageSettings | ( | ImageSettings | settings | ) | throws com.foxit.sdk.PDFException |
Set optimazion related settings for color/gray image.
For a newly constructed object, if this function is not called to set any color/gray image settings, that means to use default color/gray image settings. Please refer to comment in class ImageSettings for detail values.
[in] | settings | Optimization related settings for color and grayscale images |
void com.foxit.sdk.addon.optimization.OptimizerSettings.setMonoImageSettings | ( | MonoImageSettings | settings | ) | throws com.foxit.sdk.PDFException |
Set optimazion related settings for monochrome image.
For a newly constructed object, if this function is not called to set any monochrome image settings, that means to use default monochrome image settings. Please refer to comment in class MonoImageSettings for detail values.
[in] | settings | Optimization related settings for monochrome images. |