LOTUSSCRIPT/COM/OLE CLASSES


FormatDocument method
Example

Creates a new document in the given database, containing a rendering (picture) of a specified document in the newsletter's collection. This is similar to forwarding a document, which displays a picture of the forwarded document.

Defined in

NotesNewsletter

Syntax

Set notesDocument = notesNewsletter.FormatDocument( notesDatabase, n% )

Parameters

notesDatabase


n%
Return value

notesDocument


Usage

If you want to save the rendered document, you must explicitly call the Save method on the NotesDocument. The document is saved to the notesDatabase you specify.

If you want to mail the rendered document, you must explicitly call the Send method on the NotesDocument.

The target database must have a default view or the following occurs: "Notes error: Special database object cannot be located."

Language cross-reference

formatDocument in Java Newsletter class

Example
See Also