PolygonHotSpot Constructor ()

 

Initializes a new instance of the PolygonHotSpot class.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public:
PolygonHotSpot()

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.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: