Blessed 2012 to you all.
I need help with the following:
If the map is rotated, and I get and set the Extent of the map, then after setting it, the extent is not the same as before. If the rotation angle is 0, then this is not a problem.
To test you can do the following:
Create a button that will call the following sub:
sub RotateMap
Map.RotationAngle = 70
End Sub
Create another button that will call the following sub:
Sub DoMapExtent
Dim L_ExtentRect
set L_ExtentRect = application.map.extent
application.map.extent = L_ExtentRect
end sub
You will see that if you call "DoMapExtent" then all will be OK, but if you first call "RotateMap" then every time you call "DoMapExtent" the Map zooms out.
Am I missing something here?
Eddie