AODL.Document.Export.Html.HTMLContentBuilder.GetImageMapAsHtml C# (CSharp) Метод

GetImageMapAsHtml() публичный Метод

Gets the image map as HTML.
public GetImageMapAsHtml ( ImageMap imageMap ) : string
imageMap AODL.Document.Content.Draw.ImageMap The image map.
Результат string
		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;
		}