Visual Basic (Declaration) | |
---|---|
Public Shared Sub SetSnapKey( _ ByVal map As DependencyObject, _ ByVal key As Key _ ) |
C# | |
---|---|
public static void SetSnapKey( DependencyObject map, Key key ) |
You can change the default snap key for drawing by setting this attached property on the map. Example:
<esri:Map esri:Editor.SnapKey="A" />
Parameters
- map
- The map.
- key
- The key to use for snapping.
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7