Interval Class
Contains settings for a text interval.
Declaration
export class Interval implements IInterval
Remarks
var interval = new DevExpress.RichEdit.Interval(0, 1);
Implements
IInterval
constructor(start, length)
Creates a new instance of the Interval
class.
Declaration
constructor(
start: number,
length: number
)
Parameters
Name | Type | Description |
---|---|---|
start | number | The interval’s start position. |
length | number | The interval length. |
Remarks
new DevExpress.RichEdit.Interval(10, 20);
Properties
end Property
Gets the interval’s end position in the document.
Declaration
get end(): number
Property Value
Type | Description |
---|---|
number | The end position. |
length Property
Specifies the number of character positions in the interval.
Declaration
length: number
Property Value
Type | Description |
---|---|
number | The interval length. |
start Property
Specifies the interval’s start position in the document.
Declaration
start: number
Property Value
Type | Description |
---|---|
number | The start position. |