Hi, I zoomed into a map and set the extent to the current display and then ran the VBA script below to see what came out
Public Sub x()
Dim p As IGeoProcessor
Set p = New GeoProcessor
Dim x As String
Let x = p.GetEnvironmentValue("extent")
Debug.Print x
End Sub
The result is a string with numbers separated by a single SPACE character and not commas. Also the values are anti-clockwise starting with "LEFT BOTTOM RIGHT TOP". Nothing I can find in the ArcObjects API help indicates this what so ever! The only place I have found any indication in what order the limits of your extent should be is here in Python. Duncan
... View more