Share via


IFrameElement Object

SharePoint Designer Developer Reference

Represents an IFRAME element in an HTML document.

Interfaces
This object implements the following interfaces

Remarks

Use the tags method to return an ElementCollection collection that represents a collection of all the IFRAME elements in a document. Use the Item method to return an IFrameElement 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.

Visual Basic for Applications
Dim objIFrame As IFrameElement
Set objIFrame = ActiveDocument.all.tags("iframe").Item(0)

See Also