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


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

| 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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