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.
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8
Reference
HydrographicS57Layer ClassHydrographicS57Layer Members
Overload List
HitTestAsync(Rect,Int32,Action<IList<S57FeatureObject>>) Method
SearchAsync(Geometry,Action<IList<S57FeatureObject>>) Method
SearchAsync(Geometry,Double,Action<IList<S57FeatureObject>>) Method
SearchAsync(Geometry,Double,String,Action<IList<S57FeatureObject>>) Method