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

map
The map where the snap distance has been set.
Gets the snap radius used on the map in pixels.

Syntax

Visual Basic (Declaration) 
Public Shared Function GetSnapDistance( _
   ByVal map As DependencyObject _
) As Double
C# 
public static double GetSnapDistance( 
   DependencyObject map
)

Parameters

map
The map where the snap distance has been set.

Return Value

Snap radius in pixels

Requirements

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

See Also

© ESRI, Inc. All Rights Reserved.