TextRun (NotesRichTextRange - LotusScript®)

Read-only. The text in the range starting at the beginning and ending with a new paragraph or a change in style.

Defined in

NotesRichTextRange

Data type

String

Syntax

To get: text$ = notesRichTextRange .TextRun

Usage

This property returns meaningful text for elements of type RTELEM_TYPE_TABLECELL, RTELEM_TYPE_TEXTPARAGRAPH, and RTELEM_TYPE_TEXTRUN. For RTELEM_TYPE_TABLECELL and RTELEM_TYPE_TEXTPARAGRAPH, it returns the first text run in the element.

This property is meaningless for elements of type RTELEM_TYPE_DOCLINK, RTELEM_TYPE_FILEATTACHMENT, RTELEM_TYPE_OLE, RTELEM_TYPE_SECTION, and RTELEM_TYPE_TABLE.

Example