MapArea Constructor (MapAreaShape, String, String, String, String, Single(), Object)
.NET Framework (current version)
Initializes a new instance of the MapArea class with the specified shape, tooltip text, URL, attributes, postback value, coordinates and tag.
Assembly: System.Web.DataVisualization (in System.Web.DataVisualization.dll)
Public Sub New ( shape As MapAreaShape, toolTip As String, url As String, attributes As String, postBackValue As String, coordinates As Single(), tag As Object )
Parameters
- shape
-
Type:
System.Web.UI.DataVisualization.Charting.MapAreaShape
The shape of the map area.
- toolTip
-
Type:
System.String
The tool tip for the map area.
- url
-
Type:
System.String
The destination URL or anchor point of the map area.
- attributes
-
Type:
System.String
The attributes for the map area.
- postBackValue
-
Type:
System.String
The postback value which can be processed on a Click event.
- coordinates
-
Type:
System.Single()
An array of coordinates that determine the location of the circle, rectangle or polygon. The type of shape that is being used determines the type of coordinates required.
- tag
-
Type:
System.Object
The tag to indicate whether the map area is custom.
.NET Framework
Available since 4.0
Available since 4.0
Show: