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


index

The index value where the item will be inserted (0-based).


Index to insert at.
href

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


Jump URL.
rect

A RectangleF structure that defines the shape of the map area's rectangle.


Rect coordinates

Inserts a custom MapArea object into the MapAreasCollection, allowing for a hyperlink and bounding rectangle.


Insert new map area item into the collection.

Syntax

Visual Basic (Declaration)  
Public Overloads Sub Insert( _
   ByVal index As Integer, _
   ByVal href As String, _
   ByVal rect As RectangleF _
) 
Visual Basic (Usage) Copy Code
Dim instance As MapAreasCollection
Dim index As Integer
Dim href As String
Dim rect As RectangleF
 
instance.Insert(index, href, rect)
C#  
public void Insert( 
   int index,
   string href,
   RectangleF rect
)

Parameters

index

The index value where the item will be inserted (0-based).


Index to insert at.
href

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


Jump URL.
rect

A RectangleF structure that defines the shape of the map area's rectangle.


Rect coordinates

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.