Foxit PDF SDK
FSDK.OCRSettingData Class Reference

Public Member Functions

 constructor ()
 Constructor.
 
 constructor (pdf_doc, page_range, is_editable) Set(pdf_doc
 Constructor, with parameters. More...
 

Public Attributes

 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.
 
 page_range
 The range of pages that need to be OCR.
 
is_editable pdf_doc
 A valid PDF document that need to be OCR.
 

Detailed Description

This class represents setting data used for OCR.

Member Function Documentation

◆ constructor()

FSDK.OCRSettingData.constructor (   pdf_doc,
  page_range,
  is_editable 
)

Constructor, with parameters.

Parameters
[in]pdf_docA valid PDF document.
[in]page_rangeThe range of pages that need to be OCR.
[in]is_editabletrue means the OCR result is editable. false means the OCR result can only be searched but not be edited.

Set value.

Parameters
[in]pdf_docA valid PDF document.
[in]page_rangeThe range of pages that need to be OCR.
[in]is_editabletrue means the OCR result is editable. false means the OCR result can only be searched but not be edited.
Returns
None.