Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

areas property

Retrieves a collection of the area objects defined for the given map object.

Document Object Model (DOM) Level 2 HTML Specification, Section 1.6.5




p = object.areas


Property values

Type: IHTMLAreasCollection

Array of area objects.

Standards information


Areas can be added to or removed from the collection. If duplicate identifiers are found, a collection of those items is returned. Collections of duplicates must be referenced subsequently by ordinal position.

Use of the Area operator is not supported for adding areas to the collection. Instead, use the createElement and add methods. Alternatively, use the insertAdjacentHTML method.



© 2016 Microsoft