useMap property

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

HTML 4.01 Specification, Section 13.6.1



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

Property values

Type: BSTR

The URL of the image map.

Standards information


The IHTMLInputElement2::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 IHTMLInputElement2::useMap property.

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