Snapping in ArcGIS 10 using C#

2906
2
Jump to solution
08-28-2012 03:41 AM
TauhidulIslam
New Contributor
Hello everyone,
I have a Point featureclass and a Polyline featureclass. I develop a tool using C# to draw Line in Polyline feature class. now I want to draw line by snapping the point so that i need to set my snapping environment. but found some code in this forum that is not helpful for me. can anyone give me any suggestion or any code sample to set the snapping environment using C# for ArcGIS 10? all the code samples are for ArcGIS 9x i found in the forum.

Thanks in Advance.

Tauhid
GIS Specialist
NRECA International ltd.
0 Kudos
1 Solution

Accepted Solutions
by Anonymous User
Not applicable
Tauhid,
The following blog post should help you out:
Incorporating snapping into custom tools

View solution in original post

0 Kudos
2 Replies
by Anonymous User
Not applicable
Tauhid,
The following blog post should help you out:
Incorporating snapping into custom tools
0 Kudos
TauhidulIslam
New Contributor
Thank you very much Jones, that was very helpful for me.

Can you help me a little bit more. the sample code gives me that snapping but when i click the mouse button the point was not fall on the point feature, it creates a point where I clicked(just a little bit side). thank you again.

Tauhid,
The following blog post should help you out:
Incorporating snapping into custom tools
0 Kudos