Skip to main content
Version: Version 5 beta

Interface: CursorPosition

Defines the position of the text cursor within the document.

Properties

fragmentIndex

fragmentIndex: number

The index of the text fragment containing the cursor.


glyphOffsetIndex

glyphOffsetIndex: number

The index of the glyph offset within the text fragment.


pageNumber

pageNumber: number

The page number where the cursor is located.