embeds Property

Microsoft FrontPage Visual Basic

embeds Property

Returns an IHTMLElementCollection object that represents the EMBED elements contained in the specified page.

expression.embeds

expression    Required. An expression that returns one of the objects in the Applies To list.

Remarks

The embeds property returns the same collection as the plugins property.

Example

The following example sets an object reference to the first item in the collection of embedded objects in the active document.

Dim objEmbed As FPHTMLEmbed

Set objEmbed = ActiveDocument.embeds.Item(0)