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

TextOptions constructor

On this page

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

On this page