Select to view content in your preferred language

snapping

723
4
10-16-2012 02:22 PM
Jitendrudulacaraju
Emerging Contributor
I am editing points on a SL application. I wanted to see if there is a snapping tool in the SL API? I looked at the API reference and came across SetSnapDistance Method (ESRI.ArcGIS.Client Namespace > Editor Class : SetSnapKey Method).But I don't seem to find it in my API 2.4v.
I am trying to do the Editor implementation from C# and not xaml.
0 Kudos
4 Replies
DominiqueBroux
Esri Frequent Contributor
Snapping when using the editor was already there in 2.4. See SetSnapDistance and SetSnapKey in 2.4 documentation.

In 3.0, the possibility to snap to edge has been added.
0 Kudos
Jitendrudulacaraju
Emerging Contributor
Snapping when using the editor was already there in 2.4. See SetSnapDistance and SetSnapKey in 2.4 documentation.

In 3.0, the possibility to snap to edge has been added.


[TABLE="class: FilteredItemListTable, width: 989"][TD="class: imageCell, bgcolor: #F7F7FF"][/TD]
[TD="class: MembersLinkCell, bgcolor: #F7F7FF"]SetSnapDistance[/TD]

[/TABLE]
Does this 'S' stand for SL, and this method can be called from xaml only?
0 Kudos
DominiqueBroux
Esri Frequent Contributor
The 'S' stands for 'Static' method.
So you can call it from C# code like :  Editor.SetSnapDistance(10);
0 Kudos
Jitendrudulacaraju
Emerging Contributor
Can I find a sample on this anywhere
0 Kudos