appendStyle (NotesRichTextItem - JavaScript)

Appends a style to a rich text item. Text following the style is rendered using the attributes of that style until another style is appended.

Defined in

NotesRichTextItem

Syntax

appendStyle(style:NotesRichTextStyle) : void
Parameter Description
style The style to be appended.

Usage

This method does not affect text appended by appendRTItem.

See NotesRichTextStyle for details and examples.

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