Help with Snapping on Custom Tools

667
3
Jump to solution
02-22-2013 04:15 AM
Corbinde_Bruin
Occasional Contributor II
Hello,

I'm having trouble with following the basic snapping instructions

http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#//0001000001s1000000

I can see these Interfaces in the API reference, but they come up as undefined when I try to use them in code.
ISnappingEnvironment
IPointSnapper
ISnappingFeedback

I have ESRI.ArcGIS.Geometry referenced.
Does anyone have working 10.1 code for snapping. I am attempting to use this functionality outside of an edit session.

Thank you,
Corbin de Bruin
0 Kudos
1 Solution

Accepted Solutions
NeilClemmons
Regular Contributor III
The library you need to reference is listed at the top of the help pages for these interfaces.  In this case, it is the Controls library.

View solution in original post

0 Kudos
3 Replies
NeilClemmons
Regular Contributor III
The library you need to reference is listed at the top of the help pages for these interfaces.  In this case, it is the Controls library.
0 Kudos
by Anonymous User
Not applicable
Corbin,
The following blog post may also be of help.
Incorporating snapping into custom tools
0 Kudos
Corbinde_Bruin
Occasional Contributor II
Yes it is, thank you. I had already been using that, just totallly missed the "control" reference statement. Must have looked at it a million times.
0 Kudos