CreateEntryFrom (NotesOutline - LotusScript®)

Creates a copy of an existing outline entry.

Note: This method is new with Release 5.0.2.

Defined in

NotesOutline

Syntax

Set notesOutlineEntry = notesOutline .CreateEntryFrom( entry [, refentry ] [, addAfter ][, asChild ] )

Parameters

entry

NotesOutlineEntry. The entry to be copied.

refentry

NotesOutlineEntry. Optional. The reference entry before or after which you want to insert the new entry. If you omit this parameter the entry is added to the end of the outline after the last top level entry.

addAfter

Boolean. Optional. Specify True to place the new entry after the reference entry, and False to place the entry before the reference entry.

asChild

Boolean. Optional. Specify True if you want the new entry to be added as a child to the reference entry, and False if you want the new entry to be added as a sibling entry. The default is False.

Return value

notesOutlineEntry

NotesOutlineEntry. The new outline entry.

Usage

You must Save the outline or the effect of this method is lost when the program exits.

Example