Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

MapArea Constructor (MapAreaShape, String, String, String, String, Single(), Object)

.NET Framework 4.6 and 4.5

Initializes a new instance of the MapArea class with the specified shape, tooltip text, URL, attributes, postback value, coordinates and tag.

Namespace:  System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

'Declaration
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

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft