Share via


useMap property

Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.

 

Syntax

HRESULT value = object.put_useMap( v);HRESULT value = object.get_useMap(* p);

Property values

Type: BSTR

The URL of the image map.

Standards information

Remarks

The IHTMLImgElement::useMap property identifies the image as a client-side image map by associating a map object with the image. This map object contains area objects that define regions within the image. The user can click these regions to navigate to a designated URL.

You can dynamically assign the maps to the image through the IHTMLImgElement::useMap property.

In Microsoft Internet Explorer 6 and greater, this property applies to the objects..