PageTextAreaOptions

PageTextAreaOptions(bool)

Initializes a new instance of the PageTextAreaOptions class with the OCR usage option.

public PageTextAreaOptions(bool useOcr)
Parameter Type Description
useOcr Boolean The value that indicates whether OCR functionality is used to extract text areas.

See Also


PageTextAreaOptions(bool, OcrOptions)

Initializes a new instance of the PageTextAreaOptions class with the ability to set OCR options.

public PageTextAreaOptions(bool useOcr, OcrOptions ocrOptions)
Parameter Type Description
useOcr Boolean The value that indicates whether OCR functionality is used to extract text areas.
ocrOptions OcrOptions The additional options for OCR functionality.

See Also


PageTextAreaOptions(string)

Initializes a new instance of the PageTextAreaOptions class with the regular expression. Other options are set by default (see remarks for details).

public PageTextAreaOptions(string expression)
Parameter Type Description
expression String The regular expression.

Remarks

The following properties have default values:

MatchCase

false

UniteSegments

false

IgnoreFormatting

false

Rectangle

null

See Also


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).

public PageTextAreaOptions(string expression, Rectangle rectangle)
Parameter Type Description
expression String The regular expression.
rectangle Rectangle The rectangular area that contains page areas.

Remarks

The following properties have default values:

MatchCase

false

UniteSegments

false

IgnoreFormatting

false

See Also


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).

public PageTextAreaOptions(string expression, Rectangle rectangle, double rectangleTolerance)
Parameter Type Description
expression String The regular expression.
rectangle Rectangle The rectangular area that contains page areas.
rectangleTolerance Double 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.

See Also


PageTextAreaOptions(string, bool, bool, bool, Rectangle)

Initializes a new instance of the PageTextAreaOptions class.

public PageTextAreaOptions(string expression, bool matchCase, bool uniteSegments, 
    bool ignoreFormatting, Rectangle rectangle)
Parameter Type Description
expression String The regular expression.
matchCase Boolean The value that indicates whether a text case isn’t ignored.
uniteSegments Boolean The value that indicates whether segments are united.
ignoreFormatting Boolean The value that indicates whether text formatting is ignored.
rectangle Rectangle The rectangular area that contains page areas.

See Also


PageTextAreaOptions(string, bool, bool, bool, Rectangle, double)

Initializes a new instance of the PageTextAreaOptions class with the size of the ignored border.

public PageTextAreaOptions(string expression, bool matchCase, bool uniteSegments, 
    bool ignoreFormatting, Rectangle rectangle, double rectangleTolerance)
Parameter Type Description
expression String The regular expression.
matchCase Boolean The value that indicates whether a text case isn’t ignored.
uniteSegments Boolean The value that indicates whether segments are united.
ignoreFormatting Boolean The value that indicates whether text formatting is ignored.
rectangle Rectangle The rectangular area that contains page areas.
rectangleTolerance Double 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.

See Also