RichEditSelection.intervals Property

Gets or sets an array of document intervals in the selection.

Declaration

intervals: Interval[]

Property Value

Type Description
Interval[]

An array of Interval objects.

Remarks

//Inserts a picture at a certain position
richEdit.selection.intervals = [{ start: position, length: 0 }];
var imageUrl = "https://demos.devexpress.com/ASPxImageAndDataNavigationDemos/Content/Images/landscapes/07.jpg";
richEdit.commands.insertPicture.execute(imageUrl);
See Also