GetUnformattedText (NotesRichTextItem - LotusScript®)
Returns the contents of a rich text item as plain text.
Note: This method is new with Release 6.
Defined in
Syntax
plainText$ = notesRichTextItem .GetUnformattedText( )
Return value
plainText$
String. The contents of the rich text item, as plain text. Tabs and carriage returns are left intact.
Usage
This method omits non-text data, such as bitmaps and file attachments.
The text is not wrapped and tabs cannot be stripped as in GetFormattedText.
In an open document in edit mode (the NotesDocument via NotesUIDocument.Document), changes made to rich text will not appear on screen immediately as they would with fields of other types. There is no method to cause this update to occur. You must close and reopen the document to see changes.