CreateOutline (NotesDatabase - LotusScript®)

Creates a new outline within the current database and returns a NotesOutline object that represents the new outline. This method allows you to create a NotesOutline object without using New.

Note: This method is new with Release 5.

Defined in

NotesDatabase

Syntax

Set notesOutline = notesDatabase .CreateOutline( outlinename$ [, defaultOutline ] )

Parameters

outlinename$

String. Specify a name for the new outline.

defaultOutline

Boolean. Optional. Specify True to generate an outline with default entries. Default behavior is False, which creates a blank outline.

Return value

notesOutline

The new NotesOutline object.

Usage

If an outline already exists, this method returns an outline object that points to the existing outline.

Example