Gets the map location associated with the popup window.

Namespace:  ESRI.ArcGISExplorer.Mapping

Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

C#
public Point GetTarget()
Visual Basic (Declaration)
Public Function GetTarget As Point

Return Value

A Point on the map associated with the popup window.

Remarks

Popup windows have the ability to be linked to a target location on the map. If a popup window is visible, and the target location is within the currently visible extent of the map display, a leader line will be drawn from the popup to the target. Use this method to retrieve a popups target location; for MapItem popups (such as Popup) the target is read-only and will be dictated by MapItem properties, for example the Note target location is always the center of the Note.Graphic.Geometry. The target is always nullNothingnullptra null reference (Nothing in Visual Basic) for View MapItems.

See Also