NotesRichTextRange (JavaScript)

Represents a range of elements in a rich text item.

Creation

To create a new RichTextRange object, use the createRange method in RichTextItem.

The default range for a new RichTextRange is the beginning and end of the item. Type is 0 (no type).

Use setBegin and setEnd in conjunction with the RichTextNavigator methods to delineate a range of elements in the item.