Returns the element of a specified type at a specified position in a rich text item.
element = notesRichTextNavigator .GetNthElement( type% [, occurrence&] )
type%
Constant. The type of element:
occurrence&
Long. The position of the element within elements of the same type in the rich text item.
element
NotesEmbeddedObject, NotesRichTextDocLink, NotesRichTextSection, or NotesRichTextTable. The requested element.
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.
This method moves the current position to the position of the retrieved element.