Creates an HTML code for a MAP tag.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C#
![]() |
---|
public string CreateImageMap ( |
Visual Basic
![]() |
---|
Public Function CreateImageMap( _ |
A string value containing the generated HTML code.
There are <AREA> tags generated for each node or link whose HyperLink is not an empty string. Outlines of items that cannot be represented exactly with standard <AREA> shapes are approximated to polygons. The HREF attribute of the area is set to the value of item's HyperLink property. The ALT attribute is set to the value of item's ToolTip property.
The following HTML code:
HTML
![]() |
---|
<MAP NAME="diagram1"> |
is generated from the following code:
C#
![]() |
---|
HtmlBuilder hb = new HtmlBuilder(diagram); |
Visual Basic
![]() |
---|
Dim hb As HtmlBuilder = New HtmlBuilder(Diagram) |