TextOptions class
TextOptions class
Provides the options which are used for text extraction.
The TextOptions type exposes the following members:
Constructors
| 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. |
Properties
| 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. |
Remarks
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: | | | |
See Also
- module
groupdocs.parser.options - class
TextOptions