setEnd (RichTextRange - Java)

Defines the end of a range.

Defined in

RichTextRange

Syntax

public void setEnd(Base element)
    throws NotesException

Parameters

element

RichTextDocLink, RichTextNavigator, RichTextRange, or RichTextTable. The element that ends the range. For RichTextNavigator, 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.

Language cross-reference

SetEnd method in LotusScript® NotesRichTextRange class

Example