public string GetImageMapAsHtml(ImageMap imageMap)
{
string html = "<div>\n<map name=\""+this._nextImageMapName+"\">\n";
try
{
if (imageMap != null)
{
if (imageMap.Content != null)
{
html += this.GetIContentCollectionAsHtml(imageMap.Content);
}
}
html += "</map>\n</div>\n";
}
catch(Exception ex)
{
throw new AODLException("Exception while trying to build a HTML string from a ImageMap object.", ex);
}
return html;
}