Foxit PDF SDK

Public Member Functions | Static Public Attributes | List of all members
FoxitPDFSDKPython3.OCRSettingData Class Reference

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.

## Detailed Description

This class represents setting data used for OCR.

## Constructor & Destructor Documentation

## ◆ OCRSettingData()

def FoxitPDFSDKPython3.OCRSettingData.OCRSettingData | ( |  | ) |

Constructor.

Constructor, with parameters.

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.

## Member Function Documentation

## ◆ Set()

def FoxitPDFSDKPython3.OCRSettingData.Set | ( |  | pdf_doc,
|  |  | page_range,
|  |  | is_editable,
|  |  | ocr_config
| ) |  |

Set value.

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.

Returns
  None.