OcrOptions constructor

init

Initializes a new instance of the OcrOptions class with rectangular area.

def __init__(self):
    ...

init

Initializes a new instance of the OcrOptions class with rectangular area.

def __init__(self, page_preview_options):
    ...
Parameter Type Description
page_preview_options groupdocs.parser.options.PagePreviewOptions An instance of OcrOptions.page_preview_options class that sets properties for the document page preview generation.

init

Initializes a new instance of the OcrOptions class with rectangular area.

def __init__(self, rectangle):
    ...
Parameter Type Description
rectangle groupdocs.parser.data.Rectangle The rectangular area that constraints the page area which is used for text recognizing.

init

Initializes a new instance of the OcrOptions class with OcrEventHandler object.

def __init__(self, handler):
    ...
Parameter Type Description
handler groupdocs.parser.options.OcrEventHandler An instance of OcrEventHandler to catch OCR events.

init

Initializes a new instance of the OcrOptions class with rectangular area and OcrEventHandler object.

def __init__(self, rectangle, handler):
    ...
Parameter Type Description
rectangle groupdocs.parser.data.Rectangle The rectangular area that constraints the page area which is used for text recognizing.
handler groupdocs.parser.options.OcrEventHandler An instance of OcrEventHandler to catch OCR events.

init

Initializes a new instance of the OcrOptions class.

def __init__(self, rectangle, handler, page_preview_options, use_spell_cheker):
    ...
Parameter Type Description
rectangle groupdocs.parser.data.Rectangle The rectangular area that constraints the page area which is used for text recognizing.
handler groupdocs.parser.options.OcrEventHandler An instance of OcrEventHandler to catch OCR events.
page_preview_options groupdocs.parser.options.PagePreviewOptions An instance of OcrOptions.page_preview_options class that sets properties for the document page preview generation.
use_spell_cheker bool The value that indicates whether the spell checker is used.

See Also