I am trying to standardize map export for some of my maps with ArcPy. In the ArcGIS interface, I would click
FullExtent before exporting (
File --> Export map), so that the full map is covered in the image file.
With ArcPy, I have not understood how this works. Currently, I use
arcpy.mapping.ExportToJPEG to export the maps. When I then look at these images, however, they only show part of the map. How can I make sure ArcPy centers the map first such that the full extent of the maps is shown?