CreateRichTextItem (NotesDocument - LotusScript®)

Creates a new rich text item in a document, using a name you specify, and returns the corresponding NotesRichTextItem object. When used with OLE automation, this method allows you to create a new rich text item and NotesRichTextItem object without using New.

Defined in

NotesDocument

Syntax

Set notesRichTextItem = notesDocument .CreateRichTextItem( name$ )

Parameters

name$

String. The name of the new rich text item.

Return value

notesRichTextItem

NotesRichTextItem. The newly created item.

Usage

For more information, see the NotesRichTextItem class.

Example