Sets the map location associated with the popup window.

Namespace:  ESRI.ArcGISExplorer.Mapping

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


public void SetTarget(
	Point target
Visual Basic (Declaration)
Public Sub SetTarget ( _
	target As Point _


Type: ESRI.ArcGISExplorer.Geometry..::.Point

A Point on the map associated with the popup window.


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 window to the target. You cannot set the target for MapItem popups (such as Popup) as the target is dictated by MapItem properties. The target location can only be set for temporary popups i.e. popup windows that have been explicitly constructed.


System..::.InvalidOperationExceptionSetting the target is not supported for MapItem Popups (popup windows associated with a Note, View or KmlNode).

See Also