NotesEmbeddedObject (LotusScript®)

Represents any one of the following:

  • An embedded object
  • An object link
  • A file attachment

Some methods and properties that are available for embedded and linked objects are unavailable for file attachments.

Note: Embedded objects and object links are not supported for UNIX, and the Macintosh. File attachments are.

Containment

Contained by: NotesDocument, NotesRichTextItem, and NotesRichTextNavigator

Properties

Class

FileCreated

FileEncoding

FileModified

FileSize

FitBelowFields

FitToWindow

Name

Object

Parent

RunReadOnly

Source

Type

Verbs

Methods

Activate

DoVerb

ExtractFile

Remove

Creation

To create a new object, object link, or file attachment, use the EmbedObject method in NotesRichTextItem.

Access

There are several ways to access an existing object, object link, or file attachment:

  • To access an object, object link, or attachment when you know its name and the rich text item that contains it, use GetEmbeddedObject in NotesRichTextItem.
  • To access all the objects, object links, and attachments in a particular rich text item, use EmbeddedObjects in NotesRichTextItem.
  • To access the objects and object links in a particular document, including those that are not contained within a particular rich text item, use EmbeddedObjects in NotesDocument. This property does not return file attachments or objects and object links created in Notes® Release 3.

Example