|
Foxit PDF SDK
|
Inherits FoxitPDFSDKPython3._object.
Public Member Functions | |
| def | OCRSettingData () |
| Constructor. More... | |
| def | Set (pdf_doc, page_range, is_editable, ocr_config) |
| Set value. More... | |
Static Public Attributes | |
| is_editable = _fsdk.OCRSettingData_is_editable | |
| Decide whether the OCR result is editable. true means the OCR result is editable. false means the OCR result can only be searched but not be edited. | |
| ocr_config = _fsdk.OCRSettingData_ocr_config | |
| The OCRConfig object. | |
| page_range = _fsdk.OCRSettingData_page_range | |
| The range of pages that need to be OCR. | |
| pdf_doc = _fsdk.OCRSettingData_pdf_doc | |
| A valid PDF document that need to be OCR. | |
This class represents setting data used for OCR.
| def FoxitPDFSDKPython3.OCRSettingData.OCRSettingData | ( | ) |
Constructor.
Constructor, with parameters.
| [in] | pdf_doc | A valid PDF document. |
| [in] | page_range | The range of pages that need to be OCR. |
| [in] | is_editable | true means the OCR result is editable, false means the OCR result can only be searched but not be edited. |
| [in] | ocr_config | The OCRConfig object. |
| def FoxitPDFSDKPython3.OCRSettingData.Set | ( | pdf_doc, | |
| page_range, | |||
| is_editable, | |||
| ocr_config | |||
| ) |
Set value.
| [in] | pdf_doc | A valid PDF document. |
| [in] | page_range | The range of pages that need to be OCR. |
| [in] | is_editable | true means the OCR result is editable, false means the OCR result can only be searched but not be edited. |
| [in] | ocr_config | The OCRConfig object. |