NetCharts Server .NET Toolkit

ImageMapCreator.createImageMapWithAlt Method 

Creates an image map using the given parameters.

public string createImageMapWithAlt(
   MapElement[] mapElements,
   string mapName,
   string onMouseOver,
   string onMouseOut,
   string alt,
   string defaultHref
);

Parameters

mapElements
An array of MapElement objects to use to create the image map. MapElements contain a shape that specifies coordinates for the area tag in the image map. They also provides target, href, label, index and parameter information.
mapName
The name to associate with the image map.
onMouseOver
string containing javascript to run on the onMouseOver event of the area tag.
onMouseOut
string containing javascript to run on the onMouseOut event of the area tag.
alt
string containing text for the alt and title attributes of the area tag.
defaultHref
default URL to use when creating image map HREF attributes if none is set within the MapElement.

Return Value

A String containing the HTML image map.

See Also

ImageMapCreator Class | NetChartsServer Namespace