Skip to main content

SubDocument.getTextByInterval(interval) Method

Returns the text that is contained in the specified interval.

Declaration

getTextByInterval(
    interval: Interval
): string

Parameters

Name Type Description
interval Interval

A text buffer interval.

Returns

Type Description
string

The text.

Remarks

var startPosition = 2;
var length = 3;
var interval = new ASPx.Interval(startPosition, length);
richEdit.document.activeSubDocument.getTextByInterval(interval);
See Also