ArcGIS API for WPF - Library Reference
DirectlyOver Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client Namespace > Map.MapGestureEventArgs Class : DirectlyOver Method

toleranceInPixels
The tolerance in pixels.
layers
GraphicsLayers to perform the hit test on. If a null value is specified, all graphics layers in the map is used.
Gets all graphics in the the provided GraphicsLayers that is under the gesture location.

Syntax

Visual Basic (Declaration) 
Public Function DirectlyOver( _
   ByVal toleranceInPixels As Double, _
   Optional ByVal layers As IEnumerable(Of GraphicsLayer) _
) As IEnumerable(Of Graphic)

Parameters

toleranceInPixels
The tolerance in pixels.
layers
GraphicsLayers to perform the hit test on. If a null value is specified, all graphics layers in the map is used.

Return Value

Graphics under the specified point

Remarks

Graphics are returned top-down with the topmost graphic returned first.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© ESRI, Inc. All Rights Reserved.