Returns all hypertext imagemap areas of the element image associated with the specified element.

Further, you can use toCustomElements() function to convert the returned array of GOMImageMapArea objects (describing each area) into an enumeration of #CUSTOM elements so as to iterate them using Element Iterator section:

toCustomElements (getElementImageMapAreas())
That functionality may be needed only when you generate some plain-text based output files with certain markup currently no supported directly by DocFlex output generator (like DITA XML, XSL-FO etc.)

If the output format is supported directly (e.g. HTML), to generate hyperlinks from an element image, you should define them in the Image Control that generates the element image.

Parameter:

element

The element whose element image is requested.

If this parameter is not specified, the generator context element is assumed, i.e. the same as the call: getElementImageMapAreas(contextElement)

Returns:
An array of GOMImageMapArea objects, which describe all imagemap areas, or null, when the specified element has no image represetation (including when element images are not supported by this DSM Type) or there is no imagemap for the element image.

${include ../../refs/element_image.htm}