Wednesday, 12 October 2016

arcobjects - How to get X and Y coordinate values of the map?


I want the upper right and lower left coordinate of the exposed portion of the map, and for the whole map.


What is the way to do this?



Answer



Cast the Map to IActiveView. You can then access the Extent and FullExtent properties, which will give you the desired information.


No comments:

Post a Comment