How to get selected vertex in a polyline

Anonymous
07-06-2004, 05:09 AM
Hi,

I'm developing a little app in c# using MapPoint 2004 ActiveX. I can get the selected shape when the user clicks on it, but what I want to do is to get the current selected vertice.

Is there any way to do that? I have been looking at shape's vertices property and I can enumerate the vertices, but I'm not able to know which vertex is selected.

Thanks in advance.

Anonymous
07-11-2004, 08:08 AM
hi, i've got the same problem. did you solve it ? if do, please inform me. 10X a lot !

Winwaed
07-11-2004, 10:10 AM
Can you find the cursor/pointer location, and use this to get a longitude/latitude coordinate.

Then do you iteration, finding the closest vertex.


Richard

 
Web mp2kmag.com
mapforums.com