LOTUSSCRIPT/COM/OLE CLASSES


GetElement method
Example

Returns the element at the current position.

Defined in

NotesRichTextNavigator

Syntax

element = notesRichTextNavigator.GetElement

Return value

element


Usage

This method does not change the current position.

A run-time error occurs if a valid position does not exist. You must precede this method with a valid find method.

A run-time error occurs if you try to get an element of type RTELEM_TYPE_TABLECELL, RTELEM_TYPE_TEXTPARAGRAPH, or RTELEM_TYPE_TEXTRUN. Access these elements through NotesRichTextRange.

Language cross-reference

getElement method in Java RichTextNavigator class

Example