NotesRichTextRange
Properties
| Name | Description |
|---|---|
| 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. |
| TextParagraph | Read-only. The text in the range starting at the beginning and ending with a new paragraph. |
| TextRun | Read-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
| Name | Description |
|---|---|
| Clone (NotesRichTextRange) | Creates another NotesRichTextRange object with the same properties as the current one. |
| FindAndReplace | Replaces 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. |
| SetBegin | Defines the beginning of a range. |
| SetEnd | Defines the end of a range. |
| SetStyle | Sets a style for all text in the range. |
Examples
| Name | Description |
|---|---|
| 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 property | This 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… |