IHTMLAreasCollection Collection
Multiple objects IHTMLAreasCollection |
Represents a collection of AREA elements for a specified MAP element in an HTML document. The IHTMLAreasCollection collection contains individual FPHTMLAreaElement or IHTMLAreaElement objects.
See also the FPHTMLMapElement and IHTMLMapElement objects.
Using the IHTMLAreasCollection Collection
Use the areas property to return a collection of AREA elements for a MAP element. The following example accesses the AREA elements for the first MAP element in the active document.
Dim objMap As FPHTMLMapElement
Dim objAreas As IHTMLAreasCollection
Set objMap = ActiveDocument.all.Item("map").Item(0)
Set objAreas = objMap.areas
Properties | Length Property
Methods | add Method | item Method | Remove Method | tags Method
Parent Objects | FPHTMLMapElement Object | IHTMLMapElement Object
Child Objects