AppendStyle (NotesRichTextItem - LotusScript®)
Inserts a style in a rich text item. Text following the style is rendered using that style's attributes until another style is appended.
Note: This method is new with Release 4.6.
Defined in
Syntax
Call notesRichTextItem .AppendStyle( notesRichTextStyle )
Parameters
notesRichTextStyle
NotesRichTextStyle object. The style to append.
Usage
By default the insertion occurs at the end of the item. You can change the insertion point with BeginInsert and EndInsert.
AppendStyle does not affect text appended by AppendRTItem.
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.