NotesRichTextRange (LotusScript®)

Represents a range of elements in a rich text item.

Note: This class is new with Release 6.

Containment

Contained by: NotesRichTextItem

Contains: NotesRichTextStyle

Properties

Navigator

Style

TextParagraph

TextRun

Type

Methods

Clone

FindAndReplace

Remove

Reset

SetBegin

SetEnd

SetStyle

Creation

To create a new NotesRichTextRange object, use the CreateRange method in NotesRichTextItem.

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

Use SetBegin and SetEnd in conjunction with the NotesRichTextNavigator methods to delineate a range of elements in the item.

Example