Select to view content in your preferred language

Get Coordinates of Polygon Using New Polygon Drawing Tool

777
1
12-27-2010 05:21 AM
BrianKrebs
Deactivated User
I added the "New Polygon" tool from the "Graphic Element" category to my toolbar and am able to draw polygons onto my mapcontrol.  I would like to get the coordinates of all the points in the new polygon upon the doubleclick event on the mapcontrol that finishes creating the polygon.  I would think that this would be pretty basic functionality, but I can't find anything that even leads me down a path to try and figure this out.
0 Kudos
1 Reply
JimBarry
Esri Regular Contributor
If you are using MapObjects, take a look at this forum thread here; particularly this single post:
http://forums.arcgis.com/threads/3584-Get-points-from-shapefile?p=10804&viewfull=1#post10804

However, based on your question I'll take a better guess that you're actually coding against ArcGIS's ArcObjects.  If so, then take a look at this forum thread here:
http://forums.arcgis.com/threads/3619-fastest-way-to-parse-points-in-polygon-feature-class

Going along with this better guess, I'll also move this thread from the MapObjects forum into the ArcObjects forum.  -jb
0 Kudos