Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I need the location of clicked point before moving a vertex.

IVertexMoved event will provide me the coordinates of the point after vertex is moved but I need before moving.

Please help.

Regards, Sheethal

share|improve this question
add comment

1 Answer

You can listen to IEditEvents.OnSketchModified and compare the moved vertices' positions before and after they are moved. An example on the ArcGIS site extends and adds new events that you might also be interested in: Multiple Vertex Events Sample

share|improve this answer
    
I am calling the out of box edit tool in my application to move the vertices of the selected feature. I want to restrict the movement of end vertices, so I need to clicked point coordinates. –  Sheethal Dec 13 '12 at 9:35
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.