CyDAS General Controls: Class ImageMapAreaSelectedEventArgs
The class ImageMapAreaSelectedEventArgs describes the arguments passed
to the event handler in the ImageMapAreaSelected
event raised by the ImageMapControl.
Gets an ImageMapArea object describing
the selected area.
Property Value
an ImageMapArea object describing the selected
area.
Examples
To display information on an area when it was clicked in an ImageMapControl,
you can do: Private Sub ImageMapControl1_AreaSelected(ByRef sender As Object, ByRef
e As _
CyDASGeneralControls.ImageMapAreaSelectedEventArgs) Handles
ImageMapControl1.AreaSelected
MsgBox("Area clicked: " &
e.SelectedArea.Title)
End Sub
Methods
The class does not provide methods.
Interaction with other classes
Classes using ImageMapAreaSelectedEventArgs
The ImageMapAreaSelectedEventArgs class is linked from the ImageMapControl
class. If the ImageMapControl is clicked,
the control searches for an ImageMapArea
at the clicked position. If such an area was found and the AutoNavigate
property is set to false, it will raise an AreaSelected
and pass a reference to the selected ImageMapArea
object.