|
Foxit PDF SDK
|
Instance Methods | |
| (id) | - initWithOther: |
| Constructor, with another result information object. More... | |
| (BOOL) | - isEmpty |
| Check whether current object is empty or not. More... | |
| (void) | - setColorGrayImageCompressionMode: |
| Set compression mode used for optimizing color/gray images in the scanned PDF document. More... | |
| (void) | - setColorGrayImageCompressionQuality: |
| Set the quality for lossy compression modes, used for optimizing color/gray images in a scanned PDF document. More... | |
| (void) | - setMonoImageCompressionMode: |
| Set compression mode used for optimizing monochrome images in a scanned PDF document. More... | |
| (void) | - setOptimizedPages: |
| Set the pages which will be optimized. More... | |
This class represents settings for optimizing a scanned PDF document. It would be used in class FSOptimizer .
| - (id) initWithOther: | (FSOptimizeScannedPDFSettings*) | other |
Constructor, with another result information object.
| [in] | other | Another optimizer settings object. |
| - (BOOL) isEmpty |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.
| - (void) setColorGrayImageCompressionMode: | (FSOptimizeScannedPDFSettingsScannedImageCompressMode) | mode |
Set compression mode used for optimizing color/gray images in the scanned PDF document.
For a newly constructed object, if this function is not called to set option, that means to use OptimizeScannedPDFSettings::e_ImageCompressjpeg as the default value of this option.
| [in] | mode | Image compression mode. Please refer to values starting from FSOptimizeScannedPDFSettingsScannedImageCompressHigh and this should be one of these values. |
| - (void) setColorGrayImageCompressionQuality: | (unsigned int) | quality |
Set the quality for lossy compression modes, used for optimizing color/gray images in a scanned PDF document.
For a newly constructed object, if this function is not called to set this option, that means to use 33 as the default value of this option.
| [in] | quality | Quality value for lossy compression modes, the value must between 0 and 100. |
| - (void) setMonoImageCompressionMode: | (FSOptimizeScannedPDFSettingsScannedMonoImageCompressMode) | mode |
Set compression mode used for optimizing monochrome images in a scanned PDF document.
For a newly constructed object, if this function is not called to set option, that means to use FSOptimizeScannedPDFSettingsScannedMonoImageCompressjbig2Lossy as the default value of this option.
| [in] | mode | Image compression mode. Please refer to values starting from FSOptimizeScannedPDFSettingsScannedMonoImageCompressjbig2Lossy and this should be one of these values. |
| - (void) setOptimizedPages: | (FSRange*) | pages |
Set the pages which will be optimized.
For a newly constructed object,if this function is not called. all pages will be optimized.
| [in] | pages | The Specify pages, If pages doesn't not add pages index means all pages will be optimized. |