AppendParagraphStyle (NotesRichTextItem - LotusScript®)

Inserts a paragraph style in a rich text item. Text following the paragraph style is rendered using that paragraph style's attributes.

Note: This method is new with Release 5.

Defined in

NotesRichTextItem

Syntax

Call notesRichTextItem .AppendParagraphStyle( notesRichTextParagraphStyle )

Parameters

notesRichTextParagraphStyle

NotesRichTextParagraphStyle object. The paragraph style to be appended.

Usage

By default the insertion occurs at the end of the item. You can change the insertion point with BeginInsert and EndInsert.

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.

Example