TextRun (RichTextRange - Java)

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

Defined in

RichTextRange

Data type

String

Syntax

public String getTextRun()
    throws NotesException

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.

Language cross-reference

TextRun property in LotusScript® NotesRichTextRange class

Example