PageTextAreaOptions
Leave feedback
On this page
Provides the options which are used for page text areas extraction.
public sealed class PageTextAreaOptions : PageAreaOptions
| Name | Description |
|---|---|
| PageTextAreaOptions() | Initializes a new instance of the PageTextAreaOptions class with the OCR usage option. |
| PageTextAreaOptions(bool) | Initializes a new instance of the PageTextAreaOptions class with the OCR usage option. |
| PageTextAreaOptions(string) | Initializes a new instance of the PageTextAreaOptions class with the regular expression. Other options are set by default (see remarks for details). |
| PageTextAreaOptions(bool, OcrOptions) | Initializes a new instance of the PageTextAreaOptions class with the ability to set OCR options. |
| PageTextAreaOptions(string, Rectangle) | Initializes a new instance of the PageTextAreaOptions class with the regular expression and rectangular area. Other options are set by default (see remarks for details). |
| PageTextAreaOptions(string, Rectangle, double) | Initializes a new instance of the PageTextAreaOptions class with the regular expression, rectangular area and the size of the ignored border. Other options are set by default (see remarks for details). |
| PageTextAreaOptions(string, bool, bool, bool, Rectangle) | Initializes a new instance of the PageTextAreaOptions class. |
| PageTextAreaOptions(string, bool, bool, bool, Rectangle, double) | Initializes a new instance of the PageTextAreaOptions class with the size of the ignored border. |
| Name | Description |
|---|---|
| Expression { get; set; } | Gets the regular expression. |
| IgnoreFormatting { get; set; } | Gets the value that indicates whether text formatting is ignored. |
| MatchCase { get; set; } | Gets the value that indicates whether a text case isn’t ignored. |
| OcrOptions { get; set; } | Gets the additional options for OCR functionality. |
| Rectangle { get; set; } | Gets the rectangular area that contains page areas. |
| RectangleTolerance { get; set; } | Gets the size of the border that is ignored when captured by the rectangular area. It’s measured by the fraction of a text item height. |
| UniteSegments { get; set; } | Gets the value that indicates whether segments are united. |
| UseOcr { get; set; } | Gets the value that indicates whether OCR functionality is used to extract text areas. |
An instance of PageTextAreaOptions class is used as parameter in GetTextAreas and GetTextAreas methods. See the usage examples there. Learn more:
- class PageAreaOptions
- 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.