Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






embedObject method

Given the name of a file or an application, either:

Defined in

RichTextItem

Syntax

public EmbeddedObject embedObject(int type, String class, String source, String name)

throws NotesException

Parameters

int type

One of the following:

String class

Specify an empty string ("").

String source

Specify the name of the file to attach or embed.

String name

String. Name by which you can reference the EmbeddedObject later. Can be null.

Return value

EmbeddedObject

The newly attached file or embedded OLE/1 object.

Usage

Files can be attached on any supported platform.

Files can be embedded as OLE/1 objects on any supported platform (if the file is of a supported type, such as a Lotus® application data file).

Language cross-reference

EmbedObject method in LotusScript NotesRichTextItem class

EditInsertObject @command in formula language

EditInsertFileAttachment @command in formula language

See examples

Examples: embedObject method
Related topics
Working with attachments and embedded objects in Java classes




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009