Foxit PDF SDK
|
Public Member Functions | |
OptimizerSettings () | |
Constructor. More... | |
OptimizerSettings (const OptimizerSettings &other) | |
Constructor, with another result information object. More... | |
~OptimizerSettings () | |
Destructor. | |
bool | IsEmpty () const |
Check whether current object is empty or not. More... | |
bool | operator!= (const OptimizerSettings &other) const |
Not equal operator. More... | |
OptimizerSettings & | operator= (const OptimizerSettings &other) |
Assign operator. More... | |
bool | operator== (const OptimizerSettings &other) const |
Equal operator. More... | |
void | SetColorGrayImageSettings (const ImageSettings &settings) |
Set optimazion related settings for color/gray image. More... | |
void | SetMonoImageSettings (const MonoImageSettings &settings) |
Set optimazion related settings for monochrome image. More... | |
![]() | |
FS_HANDLE | Handle () const |
Get the handle of current object. More... | |
This class represents settings for optimizing a PDF document. It would be used in class Optimizer.
foxit::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.
foxit::addon::optimization::OptimizerSettings::OptimizerSettings | ( | const OptimizerSettings & | other | ) |
Constructor, with another result information object.
[in] | other | Another optimizer settings object. |
bool foxit::addon::optimization::OptimizerSettings::IsEmpty | ( | ) | const |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.
bool foxit::addon::optimization::OptimizerSettings::operator!= | ( | const OptimizerSettings & | other | ) | const |
Not equal operator.
[in] | other | Another result optimizer settings object. This function will check if current object is not equal to this one. |
OptimizerSettings& foxit::addon::optimization::OptimizerSettings::operator= | ( | const OptimizerSettings & | other | ) |
Assign operator.
[in] | other | Another result optimizer settings object, whose value would be assigned to current object. |
bool foxit::addon::optimization::OptimizerSettings::operator== | ( | const OptimizerSettings & | other | ) | const |
Equal operator.
[in] | other | Another result optimizer settings object. This function will check if current object is equal to this one. |
void foxit::addon::optimization::OptimizerSettings::SetColorGrayImageSettings | ( | const ImageSettings & | settings | ) |
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 foxit::addon::optimization::OptimizerSettings::SetMonoImageSettings | ( | const MonoImageSettings & | settings | ) |
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. |