Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.
HRESULT IHTMLImgElement::get_useMap(BSTR *p);HRESULT IHTMLImgElement::put_useMap(BSTR v);
- Pointer to a variable of type BSTR that receives the URL of the image map.
- BSTR that specifies the URL of the image map.
Returns S_OK if successful, or an error value otherwise.
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.