Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I would like to create a Polygon Feature from the geometry of an IEnvelope in C# ArcObjects SDK 10. Is there an easy way how to do it?
The easiest way to create a polygon from an envelope is to cast a new Polygon instance to ISegmentCollection and call the ISegmentCollection.SetRectangle method, passing the envelope as its argument.
Required, but never shown