EditorPosition Object (IEditorPosition Interface)

This object specifies the cursor position in the document: the page, the block on the page, the cell (in a table block), the paragraph in the block (or cell), and the symbol in the paragraph.

Properties

Name Type Description
Block int Specifies the index of the block in the ILayout::VisualBlocks collection.
Cell int Specifies the index of the cell (in the table block). If the cursor position is not in a table block, the value of this property is -1.
Page int Specifies the index of the page in the document.
Paragraph int Specifies the index of the paragraph. If the cursor position is in a picture block, the value of this property is -1.
Symbol int Specifies the index of the symbol in the paragraph. If the cursor position is in a picture block, the value of this property is -1.

Output parameter

This object is the output parameter of the GetSelection method of the TextEditor object.

Input parameter

This object is passed as an input parameter to the following methods:

See also

ITextEditor::CursorPosition

IValidatorError::ErrorPosition

24.03.2023 8:51:52

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.