Select to view content in your preferred language

How to get the coordinate of a polygon in arcgis engine?

2510
1
12-09-2013 07:20 AM
kju
by
Regular Contributor
suppose that the shape of the polygon is rectangle,how can I get all the corner coordinates,for example,how to get them by programing in arcgis engine?Thanks very much. [ATTACH=CONFIG]29681[/ATTACH]

when switch the polygon to the "editor" status in arcmap,we can see each of the point,
[ATTACH=CONFIG]29682[/ATTACH]
so how to get them in arcgis engine programing? thanks...
0 Kudos
1 Reply
NeilClemmons
Honored Contributor
All polygon geometries implement IPointCollection which can be used to get each vertex of the geometry.  If the geometry is a true rectangle it will implement IEnvelope which has properties each of the points.
0 Kudos