Chinese Simplified (简体中文)

ParagraphLine Object (IParagraphLine Interface)

This object represents a single line in the paragraph of a recognized text. Its properties provide access to the line's geometrical attributes and allow you to find out where the line starts and where it ends in terms of characters.

The rectangle occupied by the line is defined by the Left, Top, Right, Bottom properties. If the rectangle is undefined, all the four properties are equal to 0.

Note: The coordinates of the rectangle are not available for the paragraphs of barcodes.

This object is an element of a collection of paragraph lines (ParagraphLines object).

Properties

Name Type Description
Application Engine, read-only Returns the Engine object.
Common attributes
CharactersCount int, read-only Contains the number of characters in the current paragraph line.
FirstCharIndex int, read-only Contains the index of the first character of the current line. The index of the character is a sequence number of the character within the recognized text of the paragraph. The recognized text of the line is stored in the Text property of the Paragraph object.
BaseLine int, read-only

Contains the distance from the base line to the top edge of the page. The base line is the line on which the characters are located. The top edge of the page is determined by the characters orientation (as shown in the figure below).

It may have undefined value that corresponds to INT_MAX or 0x7FFFFFFF.

Coordinates
Bottom int, read-only Contains the coordinate of the bottom border of a surrounding rectangle. The surrounding rectangle is a minimal rectangle containing all the characters of the line. If this rectangle is undefined, this property contains 0. It is given "as is" regardless of the text orientation.
Left int, read-only Contains the coordinate of the left border of a surrounding rectangle. The surrounding rectangle is a minimal rectangle containing all the characters of the line. If this rectangle is undefined, this property contains 0. It is given "as is" regardless of the text orientation.
Right int, read-only Contains the coordinate of the right border of a surrounding rectangle. The surrounding rectangle is a minimal rectangle containing all the characters of the line. If this rectangle is undefined, this property contains 0. It is given "as is" regardless of the text orientation.
Top int, read-only Contains the coordinate of the top border of a surrounding rectangle. The surrounding rectangle is a minimal rectangle containing all the characters of the line. If this rectangle is undefined, this property contains 0. It is given "as is" regardless of the text orientation.

Related objects

Object Diagram

Output parameter

This object is the output parameter of the Item method of the ParagraphLines object.

See also

ParagraphLines

Working with Text

Working with Properties

03.07.2024 8:50:25

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.