TextOptions
Leave feedback
On this page
Provides the options which are used for text extraction.
public sealed class TextOptions
| Name | Description |
|---|---|
| TextOptions() | Initializes a new instance of the TextOptions class. |
| TextOptions(bool) | Initializes a new instance of the TextOptions class. |
| TextOptions(bool, bool) | Initializes a new instance of the TextOptions class with the OCR usage option. |
| TextOptions(bool, bool, OcrOptions) | Initializes a new instance of the TextOptions class with the ability to set OCR options. |
| Name | Description |
|---|---|
| IncludeAnnotations { get; set; } | Gets the value indicating whether annotations are included. The default value is false. |
| OcrOptions { get; set; } | Gets the additional options for OCR functionality. |
| UseOcr { get; set; } | Gets the value that indicates whether the OCR Connector is used to extract a text. |
| UseRawModeIfPossible { get; set; } | Gets the value that indicates whether the raw mode is used. |
An instance of TextOptions class is used as parameter in GetText and GetText 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:
- namespace GroupDocs.Parser.Options
- assembly GroupDocs.Parser
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.