PageTextAreaOptions
Contents
[
Hide
]
PageTextAreaOptions class
Provides the options which are used for page text areas extraction.
public sealed class PageTextAreaOptions : PageAreaOptions
Constructors
| 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. |
Properties
| 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. |
Remarks
An instance of PageTextAreaOptions class is used as parameter in GetTextAreas and GetTextAreas methods. See the usage examples there. Learn more:
See Also
- class PageAreaOptions
- namespace GroupDocs.Parser.Options
- assembly GroupDocs.Parser