FPHTMLObjectElement Object


Represents an OBJECT element in an HTML document. See also the IHTMLObjectElement object.
Using the FPHTMLObjectElement object
Use the tags method to return an IHTMLElementCollection collection that represents a collection of all the OBJECT elements in a document. Use the Item method to return an FPHTMLObjectElement object that accesses a specific OBJECT element, referenced by ordinal number or by the value of the id attribute.
The following example accesses the first OBJECT element in the active document.
Dim objObject As FPHTMLObjectElement
Set objObject = ActiveDocument.all.tags("object").Item(0)