Confusion about Envelope

1429
1
01-12-2011 12:30 PM
AlexAgranov
New Contributor
The API reference for the constructor says p1, p2 are 1st and 2nd corners? Left-top, left-bottom, right-top, right-bottom? Which ones?
0 Kudos
1 Reply
JenniferNery
Esri Regular Contributor
This constructor takes any two MapPoints (p1, p2) that will define 2 corners of your envelope. It does not matter which corner they come from. It would make sense if these two points would form a diagonal. The constructor will set the XMin, YMin, XMax, YMax properties accordingly by getting the Min or Max of two points.
0 Kudos