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


href

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


Jump URL.
rect
Rectangle coordinates.
Rect coordinates

Appends a custom MapArea object to the end of the MapAreasCollection. Takes a hyperlink and bounding rectangle as parameters.


Add new map area item into the collection.

Syntax

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

Parameters

href

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


Jump URL.
rect
Rectangle coordinates.
Rect coordinates

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.