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.
Visual Basic (Declaration) | |
---|---|
Public Overloads Function Add( _ ByVal href As String, _ ByVal rect As RectangleF _ ) As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
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.
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