DS Server

InputPositionChangedEventArgs Object

Object|Introduced in 24.0

Description

The event argument object for the inputPositionChanged event.

Syntax

{
   column: <number>,
   line: <number>,
   page: <number>,
   section: <number>,
   textPosition: <number>
}

Examples

The following example demonstrates InputPositionChangedEventArgs in a practical document-editing workflow. The event argument object for the inputPositionChanged event.

function handleInputPositionChanged(args) {
    console.log("column:", args.column);
    console.log("line:", args.line);
    console.log("page:", args.page);
    console.log("section:", args.section);
}

Members

Properties

PropertyDescription
columnThe column number of the current text input position.
lineThe line number of the current text input position.
pageThe page number of the current text input position.
sectionThe section number of the current text input position.
textPositionThe 0-based text position of the current text input position.