setEnd (NotesRichTextRange - JavaScript)

Defines the end of a range.

Defined in

NotesRichTextRange

Syntax

setEnd(element:NotesBase) : void
Parameter Description
element NotesRichTextDocLink, NotesRichTextNavigator, NotesRichTextRange, or NotesRichTextTable. For NotesRichTextNavigator, this is the current position. For other elements, this is the position of the element.

Usage

Calling this method after calling setBegin with the same element defines a range containing that element.