Getting text renditions of rich text items in LotusScript® classes
The following properties and methods render rich text items as plain text. Font styles and other formatting elements are lost. Rich text elements that cannot be converted to plain text, such as attachments, are lost.
- NotesDocument.GetItemValue returns the text content of a rich text item as the first element of an array of type String.
- NotesItem.Text returns the text content of a rich text item as a value of type String.
- NotesItem.Values returns the text content of a rich text item as a value of type String.
- NotesItem.Abstract returns the abbreviated text content of a rich text item as a value of type String.
- NotesRichTextItem.GetFormattedText returns the text content of a rich text item as a value of type String, allowing you to wrap the text and strip tabs.
- NotesRichTextItem.GetUnformattedText returns the text content of a rich text item as a value of type String.