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.

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

public MapArea(
	MapAreaShape shape,
	string toolTip,
	string url,
	string attributes,
	string postBackValue,
	float[] coordinates,
	object tag
)

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
Return to top
Show: