Back to Devexpress

Interval Class

aspnetcore-js-devexpress-dot-richedit-3d8e9591.md

latest1.4 KB
Original Source

Interval Class

Contains settings for a text interval.

Declaration

ts
export class Interval implements IInterval

Remarks

javascript
var interval = new DevExpress.RichEdit.Interval(0, 1);

Implements

IInterval

constructor(start, length)

Creates a new instance of the Interval class.

Declaration

ts
constructor(
    start: number,
    length: number
)

Parameters

NameTypeDescription
startnumber

The interval’s start position.

| | length | number |

The interval length.

|

Remarks

javascript
new DevExpress.RichEdit.Interval(10, 20);

Properties

end Property

Gets the interval’s end position in the document.

Declaration

ts
get end(): number

Property Value

TypeDescription
number

The end position.

|

length Property

Specifies the number of character positions in the interval.

Declaration

ts
length: number

Property Value

TypeDescription
number

The interval length.

|

start Property

Specifies the interval’s start position in the document.

Declaration

ts
start: number

Property Value

TypeDescription
number

The start position.

|