JAVA/CORBA CLASSES


formatDocument method
Example

Creates a document containing a rendering of a document in the newsletter collection. This is similar to forwarding a document, which displays a rendering of the forwarded document.

Defined in

Newsletter

Syntax

public Document formatDocument(Database db, int index)
   throws NotesException

Parameters

Database db


int index
Return value

Document


Usage

If you want to save the rendered document, you must explicitly call the save method of Document.

If you want to mail the rendered document, you must explicitly call the send method of Document.

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

Language cross-reference

FormatDocument method in LotusScript NotesNewsletter class

Example
See Also