Dundas.SharePoint.Charting.WebParts Send comments on this topic.
Add(MapAreaShape,String,String,String,Single[]) Method
See Also 
Dundas.Charting.WebControl Namespace > MapAreasCollection Class > Add Method : Add(MapAreaShape,String,String,String,Single[]) Method


shape
Area shape.
toolTip
Tool tip.
href
Jump URL.
attr
Other area attributes.
coord
Array of coordinates
Add new map area item into the collection.

Syntax

Visual Basic (Declaration)  
Public Overloads Function Add( _
   ByVal shape As MapAreaShape, _
   ByVal toolTip As String, _
   ByVal href As String, _
   ByVal attr As String, _
   ByVal coord() As Single _
) As Integer
Visual Basic (Usage) Copy Code
Dim instance As MapAreasCollection
Dim shape As MapAreaShape
Dim toolTip As String
Dim href As String
Dim attr As String
Dim coord() As Single
Dim value As Integer
 
value = instance.Add(shape, toolTip, href, attr, coord)
C#  
public int Add( 
   MapAreaShape shape,
   string toolTip,
   string href,
   string attr,
   float[] coord
)

Parameters

shape
Area shape.
toolTip
Tool tip.
href
Jump URL.
attr
Other area attributes.
coord
Array of coordinates

Return Value

Index of the newly added item.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also