RenderToRTItem (NotesDocument - LotusScript®)

Creates a picture of a document and places it into a rich text item you specify. The picture is created using both the document and its form. Therefore, the form's input translation and validation formulas are executed.

Defined in

NotesDocument

Syntax

flag = notesDocument .RenderToRTItem( notesRichTextItem )

Parameters

notesRichTextItem

NotesRichTextItem. The destination for the picture. If you specify Nothing, this method generates an error.

Return value

flag

Boolean. If True, the method was successful. If False, the method was not successful and the rich text item remains unchanged. This can happen if an input validation formula fails on the document's form.

Usage

The picture is created using both the document and its form. Therefore, the input translation and validation formulas of the form are executed.

If the target rich text item is in a new document, you must save the document before calling RenderToRTItem.

Example