Creates an HTML code for a MAP tag.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C# Copy Code |
---|
public string CreateImageMap ( |
Visual Basic Copy Code |
---|
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 Copy Code |
---|
<MAP NAME="diagram1"> |
is generated from the following code:
C# Copy Code |
---|
HtmlBuilder hb = new HtmlBuilder(diagram); |
Visual Basic Copy Code |
---|
Dim hb As HtmlBuilder = New HtmlBuilder(Diagram) |
MindFusion.Diagramming Developer's Guide | © 2024 MindFusion |