TextOptions constructor

Contents
[ ]

init

Initializes a new instance of the TextOptions class.

def __init__(self):
    ...

init

Initializes a new instance of the TextOptions class.

def __init__(self, use_raw_mode_if_possible):
    ...
Parameter Type Description
use_raw_mode_if_possible bool The value that indicates whether the raw mode is used.

init

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

def __init__(self, use_raw_mode_if_possible, use_ocr):
    ...
Parameter Type Description
use_raw_mode_if_possible bool The value that indicates whether the raw mode is used.
use_ocr bool The value that indicates whether the OCR functionality is used to extract a text.

init

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

def __init__(self, use_raw_mode_if_possible, use_ocr, ocr_options):
    ...
Parameter Type Description
use_raw_mode_if_possible bool The value that indicates whether the raw mode is used.
use_ocr bool The value that indicates whether the OCR functionality is used to extract a text.
ocr_options groupdocs.parser.options.OcrOptions The additional options for OCR functionality.

See Also