findLastElement (NotesRichTextNavigator - JavaScript)

Moves the current position to the last element of a specified type in a rich text item.

Defined in

NotesRichTextNavigator

Syntax

findLastElement(type:int) : boolean
Parameter Description
int type
  • RichTextItem.RTELEM_TYPE_DOCLINK
  • RichTextItem.RTELEM_TYPE_FILEATTACHMENT
  • RichTextItem.RTELEM_TYPE_OLE
  • RichTextItem.RTELEM_TYPE_SECTION
  • RichTextItem.RTELEM_TYPE_TABLE
  • RichTextItem.RTELEM_TYPE_TABLECELL
  • RichTextItem.RTELEM_TYPE_TEXTPARAGRAPH
  • RichTextItem.RTELEM_TYPE_TEXTRUN
Return value Description
boolean
  • true if the element exists and the current position is reset
  • false if the element does not exist and the current position is not reset