ArcGIS Runtime SDK for WPF - Library Reference
HitTestAsync(Point,Int32,Action<IList<S57FeatureObject>>,Int32) Method
See Also 
ESRI.ArcGIS.Client.AdvancedSymbology Namespace > HydrographicS57Layer Class > HitTestAsync Method : HitTestAsync(Point,Int32,Action<IList<S57FeatureObject>>,Int32) Method

screenPoint
A System.Windows.Point in screen coordinates within the current Map Control on-screen extent.
maxHits
The maximum number of hits (S57FeatureObjects) to return.
resultCallback
A callback when the HitTest operation has completed.
pixelTolerance
An approximate distance in pixels from screenPoint to test for hits within the Layer.
Asynchronously performs a HitTest operation based on the specified screen Point and within the specified pixel tolerance. Results are returned as a collection of S57FeatureObjects.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub HitTestAsync( _
   ByVal screenPoint As Point, _
   ByVal maxHits As Integer, _
   ByVal resultCallback As Action(Of IList(Of S57FeatureObject)), _
   Optional ByVal pixelTolerance As Integer _
) 
C# 
public void HitTestAsync( 
   Point screenPoint,
   int maxHits,
   Action<IList<S57FeatureObject>> resultCallback,
   int pixelTolerance
)

Parameters

screenPoint
A System.Windows.Point in screen coordinates within the current Map Control on-screen extent.
maxHits
The maximum number of hits (S57FeatureObjects) to return.
resultCallback
A callback when the HitTest operation has completed.
pixelTolerance
An approximate distance in pixels from screenPoint to test for hits within the Layer.

Requirements

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

See Also

© ESRI, Inc. All Rights Reserved.