PageTextAreaOptions class

PageTextAreaOptions class

Provides the options which are used for page text areas extraction.

Inheritance: PageTextAreaOptionsPageAreaOptions

The PageTextAreaOptions type exposes the following members:

Constructors

Constructor Description
init Initializes a new instance of the PageTextAreaOptions class with the OCR usage option.
init Initializes a new instance of the PageTextAreaOptions class with the OCR usage option.
init Initializes a new instance of the PageTextAreaOptions class with the ability to set OCR options.
init Initializes a new instance of the PageTextAreaOptions class with the regular expression.
Other options are set by default (see remarks for details).
init 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).
init 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).
init Initializes a new instance of the PageTextAreaOptions class.
init Initializes a new instance of the PageTextAreaOptions class
with the size of the ignored border.

Properties

Property Description
rectangle Gets the rectangular area that contains page areas.
rectangle_tolerance 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.
expression Gets the regular expression.
match_case Gets the value that indicates whether a text case isn’t ignored.
unite_segments Gets the value that indicates whether segments are united.
ignore_formatting Gets the value that indicates whether text formatting is ignored.
use_ocr Gets the value that indicates whether OCR functionality is used to extract text areas.
ocr_options Gets the additional options for OCR functionality.

Remarks

An instance of PageTextAreaOptions class is used as parameter in Parser.get_text_areas and Parser.get_text_areas methods. See the usage examples there. Learn more: | | |

See Also