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

map
The map.
distance
The radius in pixels to use when snapping.
Sets the snap radius in pixels.

Syntax

Visual Basic (Declaration) 
Public Shared Sub SetSnapDistance( _
   ByVal map As DependencyObject, _
   ByVal distance As Double _
) 
C# 
public static void SetSnapDistance( 
   DependencyObject map,
   double distance
)

Parameters

map
The map.
distance
The radius in pixels to use when snapping.

Remarks

Note that some keys are not supported in fullscreen mode.

You can change the default snap key for drawing by setting this attached property on the map. Example:

            <esri:Map esri:Editor.SnapKey="A" />
            

Requirements

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

See Also

© ESRI, Inc. All Rights Reserved.