Accessing rich text items in LotusScript® classes
An item of Type RICHTEXT (1) allows the inclusion of text of different fonts as well as attachments, embedded objects, tables, doclinks, and sections. The NotesRichTextItem class inherits from NotesItem , meaning that NotesRichTextItem objects can use all the properties and methods of NotesItem. NotesRichText has additional properties and methods that allow you to:
- Get text renditions of rich text items
- Navigate in rich text items
- Write in rich text items
- Work with text
- Work with attachments and embedded objects
- Work with tables
- Work with doclinks
- Work with sections
If you don't need the additional properties and methods, you can access a rich text item as either a NotesItem or NotesRichTextItem object.