TextOptions class
Leave feedback
On this page
Provides the options which are used for text extraction.
The TextOptions type exposes the following members:
| Constructor | Description |
|---|---|
| init | Initializes a new instance of the TextOptions class. |
| init | Initializes a new instance of the TextOptions class. |
| init | Initializes a new instance of the TextOptions class with the OCR usage option. |
| init | Initializes a new instance of the TextOptions class with the ability to set OCR options. |
| Property | Description |
|---|---|
| use_raw_mode_if_possible | Gets the value that indicates whether the raw mode is used. |
| use_ocr | Gets the value that indicates whether the OCR Connector is used to extract a text. |
| ocr_options | Gets the additional options for OCR functionality. |
An instance of TextOptions class is used as parameter
in Parser.get_text and Parser.get_text methods. See the usage examples there.
It’s used to specify the raw mode of text extraction. A text in this mode is extracted in a non-accurate way but faster than in the standard mode. If the raw mode doesn’t support the document format, then this parameter is ignored and the standard mode is used.
Learn more: | | | |
- module
groupdocs.parser.options - 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.