Skip to main content
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

NameTypeDescription
BlockintSpecifies the index of the block in the ILayout::VisualBlocks collection.
CellintSpecifies 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.
PageintSpecifies the index of the page in the document.
ParagraphintSpecifies the index of the paragraph. If the cursor position is in a picture block, the value of this property is -1.
SymbolintSpecifies 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