__init__ constructor
Leave feedback
On this page
Initializes a new instance of the TextOptions class.
def __init__(self):
...
Initializes a new TextOptions instance.
def __init__(self, use_raw_mode_if_possible):
...
| Parameter | Type | Description |
|---|---|---|
| use_raw_mode_if_possible | bool |
Indicates whether raw mode is used. |
from groupdocs.parser.options import TextOptions
options = TextOptions(use_raw_mode_if_possible=True)
Initializes a new TextOptions instance 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. |
Initializes a new TextOptions instance with OCR options support.
def __init__(self, use_raw_mode_if_possible, use_ocr, ocr_options):
...
| Parameter | Type | Description |
|---|---|---|
| use_raw_mode_if_possible | bool |
Indicates whether raw mode is used. |
| use_ocr | bool |
Indicates whether OCR functionality is used to extract text. |
| ocr_options | OcrOptions |
Additional options for OCR functionality. |
- class
TextOptions
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.