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.
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" />
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family