Dundas Chart for ASP.NET
Add(String,GraphicsPath) Method
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > MapAreasCollection Class > Add Method : Add(String,GraphicsPath) Method


href

The destination URL or anchor point of the map area. Corresponds to the html <AREA> tag's HREF attribute.


Jump URL.
path
Area coordinates as a graphics path.
Area coordinates as graphis path

Appends a custom MapArea object to the end of the MapAreasCollection. Takes a hyperlink as a parameter.


Add new map area item into the collection.

Syntax

Visual Basic (Declaration)  
Public Overloads Function Add( _
   ByVal href As String, _
   ByVal path As GraphicsPath _
) As Integer
Visual Basic (Usage) Copy Code
Dim instance As MapAreasCollection
Dim href As String
Dim path As GraphicsPath
Dim value As Integer
 
value = instance.Add(href, path)
C#  
public int Add( 
   string href,
   GraphicsPath path
)

Parameters

href

The destination URL or anchor point of the map area. Corresponds to the html <AREA> tag's HREF attribute.


Jump URL.
path
Area coordinates as a graphics path.
Area coordinates as graphis path

Return Value

An integer that represents the index where the item was inserted into the collection (0-based).


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

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.