Skip to main content

NotesRichTextRange

Properties

NameDescription
Navigator (NotesRichTextRange)Read-only. A rich text navigator confined to the range.
Style (NotesRichTextRange)Read-only. The style of the first text run in the range.
TextParagraphRead-only. The text in the range starting at the beginning and ending with a new paragraph.
TextRunRead-only. The text in the range starting at the beginning and ending with a new paragraph or a change in style.
Type (NotesRichTextRange)Read-only. The type of the first element in the range.

Methods

NameDescription
Clone (NotesRichTextRange)Creates another NotesRichTextRange object with the same properties as the current one.
FindAndReplaceReplaces the next occurrence of a string in a rich text range, and moves the current position to the beginning of the first occurrence of the string.
Remove (NotesRichTextRange)Removes everything in the range, including supported elements.
Reset (NotesRichTextRange)Resets the range to its default values.
SetBeginDefines the beginning of a range.
SetEndDefines the end of a range.
SetStyleSets a style for all text in the range.

Examples

NameDescription
Examples: Clone method (NotesRichTextRange)This agent gets the first paragraph in the Body item of the current document in a created range, then gets the second paragraph in a cloned range.
Examples: Navigator propertyThis agent gets every paragraph in every cell in the first table of the current document. The agent works within elements by setting up a navigator for…
Examples: Remove method (NotesRichTextRange)This agent removes the content of every cell in the first table of the current document.
Examples: Reset method (NotesRichTextRange)Not available.
Examples: Type property (NotesRichTextRange)This agent contains a subroutine DisplayRange that examines the type of a range that is passed as a parameter. If the range type indicates a text…