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

12-09-2013 07:20 AM
New Contributor III
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,
so how to get them in arcgis engine programing? thanks...
0 Kudos
1 Reply
Regular Contributor III
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