JAVA/CORBA CLASSES


getLastElement method
Example

Returns the last element of a specified type in a rich text item.

Defined in

RichTextNavigator

Syntax

public Base getLastElement(int type)
   throws NotesException

Parameters

int type

Return value

Base


Usage

An exception occurs occurs if you try to get an element of type RTELEM_TYPE_TABLECELL, RTELEM_TYPE_TEXTPARAGRAPH, or RTELEM_TYPE_TEXTRUN. Access these elements through RichTextRange.

This method moves the current position to the position of the retrieved element.

Language cross-reference

GetLastElement method in LotusScript NotesRichTextNavigator class

Example
See Also