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