Skip to main content

Interval.start Property

Gets the interval’s start position in the document.

#Declaration

TypeScript
start: number

#Property Value

Type Description
number

The start position.

#Remarks

//Gets the selected text
var firstSelectedInterval = richEdit.selection.intervals[0];
var selectedText = richEdit.document.activeSubDocument.text.substr(firstSelectedInterval.start, firstSelectedInterval.length);
See Also