Skip to main content

NotesEmbeddedObject

Properties

NameDescription
FileCreatedRead-only. For embedded objects, provides a string representing the date and time the file was created.
FileModifiedRead-only. For embedded objects, provides a string representing the date and time the file was last modified.
FileSizeRead-only. For file attachments, the size of the file in bytes.
FitBelowFieldsRead-write. Sizes the embedded object to fit below the first layout in the document. The embedded object takes over the entire document window below the…
FitToWindowRead-write. Sizes the embedded object to fit the document window. The embedded object takes over the entire document window when activated.
Name (NotesEmbeddedObject)Read-only. The name used to reference an embedded object, object link, or attachment.
ObjectRead-only. If an embedded object has been loaded into memory, returns the OLE handle (IDispatch handle). If the OLE object supports OLE Automation, you…
Parent (NotesEmbeddedObject)Read-only. The rich-text item that holds an object.
RunReadOnlyRead-write. Runs the embedded object when reading the document.
Source (NotesEmbeddedObject)Read-only.
Type (NotesEmbeddedObject)Read-only. Indicates whether a NotesEmbeddedObject is an embedded object, an object link, or a file attachment.
VerbsRead-only. The verbs that an object supports, if the object is an OLE/2 embedded object.

Methods

NameDescription
ActivateCauses an embedded object or object link to be loaded by OLE.
DoVerbGiven the name of a verb, executes the verb in an embedded object.
ExtractFileCopies a file attachment to disk.
Remove (NotesEmbeddedObject)Permanently deletes an embedded object, object link, or file attachment.

Examples

NameDescription
Examples: Name property (NotesEmbeddedObject)This script gets the name of the "City picture" object in the Body item of a document, and puts it into objectName. The Name property returns "City…
Examples: Remove method (NotesEmbeddedObject)This script removes the "City picture" embedded object from the Body item in a document.
Examples: Type property (NotesEmbeddedObject)This script counts the number of embedded objects, object links, and file attachments in the Body item of a document, and prints the results in the…