ESRI.ArcGIS.Mobile
Snap Method
See Also  Send Feedback
ESRI.ArcGIS.Mobile.FeatureCaching Namespace > SnappingAgent Class : Snap Method

coordinate
singleHit
tolerance
Returns true or false indicating whether current coordinate can be snapped to the snap agent. The property singleHit indicates if the Snap method should stop at the first hit or if it should collect all the hits.

Syntax

Visual Basic (Declaration) 
Public Function Snap( _
   ByVal coordinate As Coordinate, _
   ByVal singleHit As Boolean, _
   ByVal tolerance As Double _
) As SnappingResult
C# 
public SnappingResult Snap( 
   Coordinate coordinate,
   bool singleHit,
   double tolerance
)

Parameters

coordinate
singleHit
tolerance

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also