1. GroupDocs.Parser
  2. /
  3. GroupDocs.Parser for Python via .NET
  4. /
  5. groupdocs.parser.options
  6. /
  7. ParseByTemplateOptions class
  8. /
  9. ParseByTemplateOptions constructor

ParseByTemplateOptions constructor

On this page

init

Initializes a new instance of the ParseByTemplateOptions class.

def __init__(self):
    ...

init

Initializes a new instance of the ParseByTemplateOptions class.

def __init__(self, page_index):
    ...
Parameter Type Description
page_index int The page index.

init

Initializes a new instance of the ParseByTemplateOptions class with the OCR usage option.

def __init__(self, page_index, use_ocr):
    ...
Parameter Type Description
page_index int The page index.
use_ocr bool The value that indicates whether the OCR functionality is used to parse by template.

init

Initializes a new instance of the ParseByTemplateOptions class with the ability to set OCR options.

def __init__(self, page_index, use_ocr, ocr_options):
    ...
Parameter Type Description
page_index int The page index.
use_ocr bool The value that indicates whether the OCR functionality is used to parse by template.
ocr_options groupdocs.parser.options.OcrOptions The additional options for OCR functionality.

See Also

On this page