EmbeddedObjects (NotesRichTextItem - LotusScript®)

Read-only. All the embedded objects, object links, and file attachments contained in a rich text item.

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

Defined in

NotesRichTextItem

Data type

Array of NotesEmbeddedObject objects

Syntax

To get: notesEmbeddedObjectArray = notesRichTextItem .EmbeddedObjects

Usage

Returns EMPTY if the rich text item does not contain embedded objects.

This property includes OLE/1 and OLE/2 embedded objects and object links as well as file attachments.

If you need access to OLE/2 embedded objects that exist in a document but are not part of a rich text item (for example, because the object was originally created on the document's form), use the EmbeddedObjects property in NotesDocument.

In an open document in edit mode (the NotesDocument via NotesUIDocument.Document), changes made to rich text will not appear on screen immediately as they would with fields of other types. There is no method to cause this update to occur. You must close and reopen the document to see changes.

Example