FPHTMLIFrame Object


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