Provides methods and properties for building HTML image maps.
VB6
![]() |
---|
Public Class HtmlBuilder |
C++
![]() |
---|
class HtmlBuilder |
If an exported diagram image is embedded in an HTML page, it is useful to have an image map whose areas correspond to the nodes visible on the image. The CreateImageMap method generates a full <MAP> tag, including its <AREA> elements.
Each FlowChartX box or table has a corresponding <AREA> created. Boxes outlines that contain curves or arcs are automatically approximated to polygons. Outline coordinates are assigned to the COORDS attribute of an <AREA>. The HREF, TITLE and TARGET attributes are set to the values of respectively HyperLink and ToolTip properties of boxes and LinkTarget property of HtmlBuilder.
To reference an image map from an image tag, assign the map's identifier to the USEMAP attribute of <IMG> like this:
HTML
![]() |
---|
<IMG SRC="..." USEMAP="#mapid"> |