1

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?

2

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.