Foxit PDF SDK
|
Instance Methods | |
(FSResultInformation *) | - convertPDFFile:saved_pdf_path:convert_to_version:view_or_print_condition:to_convert_rgb_or_lab:to_decalibrate_gray_or_cmyk:progress_callback: |
Convert a PDF file with specified PDFX version. More... | |
(id) | - init |
Constructor. | |
(id) | - initWithOther: |
Constructor, with another PDFX compliance object. More... | |
(BOOL) | - isEmpty |
Check whether current object is empty or not. More... | |
(FSResultInformation *) | - verify:src_pdf_path:first_page_index:last_page_index:progress_callback: |
Verify a PDF file with specified PDFX version. More... | |
This class can be used to verify if a PDF file matches a PDF/X version or convert a PDF file to a PDF/X version. Please ensure FSComplianceEngine has been initialized successfully.
- (FSResultInformation *) convertPDFFile: | (NSString *) | src_pdf_path | |
saved_pdf_path: | (NSString *) | saved_pdf_path | |
convert_to_version: | (FSPDFXComplianceVersion) | convert_to_version | |
view_or_print_condition: | (FSComplianceEngineViewOrPrintCondition) | view_or_print_condition | |
to_convert_rgb_or_lab: | (BOOL) | to_convert_rgb_or_lab | |
to_decalibrate_gray_or_cmyk: | (BOOL) | to_decalibrate_gray_or_cmyk | |
progress_callback: | (id<FSComplianceProgressCallback>) | progress_callback | |
Convert a PDF file with specified PDFX version.
[in] | src_pdf_path | A complete path of source PDF file to be converted. This should not be an empty string. |
[in] | saved_pdf_path | A complete path for saving the converted PDF file. This should not be an empty string. |
[in] | convert_to_version | PDFX version to convert. Please refer to values starting from FSPDFXComplianceVersionPDFX1a and this should be one of these values. |
[in] | view_or_print_condition | Viewing or printing condition. Please refer to values starting from FSComplianceEngineViewOrPrintConditionAuto and this should be one of these values. |
[in] | to_convert_rgb_or_lab | Whether to convert device independ RGB or Lab color into destination color space. YES means to convert, NO means not to convert. It only works if convert_to_version is not FSPDFXComplianceVersionPDFX1a, FSPDFXComplianceVersionPDFX1aCoatedGRACoL2006, , and . |
[in] | to_decalibrate_gray_or_cmyk | Whether to decalibrate device independent Gray or CMYK. YES means to decalibrate, NO means not to decalibrate. |
[in] | progress_callback | Progress callback which is implemented by user and can be used to get progress data. This can be nil. Default value: nil. |
- (id) initWithOther: | (FSPDFXCompliance*) | other |
Constructor, with another PDFX compliance object.
[in] | other | Another PDFA compliance object. |
- (BOOL) isEmpty |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.
- (FSResultInformation *) verify: | (FSPDFXComplianceVersion) | verify_version | |
src_pdf_path: | (NSString *) | src_pdf_path | |
first_page_index: | (int) | first_page_index | |
last_page_index: | (int) | last_page_index | |
progress_callback: | (id<FSComplianceProgressCallback>) | progress_callback | |
Verify a PDF file with specified PDFX version.
[in] | verify_version | PDFX version to verify. Please refer to values starting from FSPDFXComplianceVersionPDFX1a to object. |