Generates a USEMAP attribute to be used within an <IMG> tag.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C#
![]() |
---|
public string CreateUseMapAttr ( |
Visual Basic
![]() |
---|
Public Function CreateUseMapAttr( _ |
A string that contains the generated HTML code for the USEMAP attribute.
Use the same mapID as the one you have passed to CreateImageMap. The method generates also WIDTH and HEIGHT attributes, converting the diagram's MeasureUnit values to pixel values. The properties of ImageExportOptions are also considered, so the generated HTML code corresponds exactly to the exported image.
The result of this method looks like:
HTML
![]() |
---|
USEMAP="#diagram1"WIDTH="672"HEIGHT="808" |
WpfDiagram Programmer's Guide | © 2025 MindFusion |