PolygonHotSpot Constructor ()
.NET Framework (current version)
Initializes a new instance of the PolygonHotSpot class.
Assembly: System.Web (in System.Web.dll)
Use this constructor to initialize a new instance of the PolygonHotSpot class.
The following code example demonstrates how to programmatically create a PolygonHotSpot object and add it to an ImageMap control. The ImageMap control contains two other PolygonHotSpot objects that have been added declaratively. Each PolygonHotSpot object represents a geographical region on the map. When the user clicks a PolygonHotSpot object, it posts back to the server and the type and name of the hot spot are displayed in a label.
.NET Framework
Available since 2.0
Available since 2.0
Show: