arcpy.mapping.ExportToPNG(mxd, r"E:\projects\agglomeration\Images\Test2.png", df, df_export_width=1000, df_export_height=1000, resolution=144)
name="NewTest";filename="E:\\projects\\agglomeration\\Images\\"+name+" place statecode longmin longmax latmin latmax Burlington VT -73.png"arcpy27691399999999 -73.176383 44.mapping445927999999995 44.ExportToPNG(mxd, filename, resolution=144)539927
myDict = {}
myDict["BurlingtonBurlington_VT"] = [1-73.27691399999999, 2-73.176383,44.445927999999995,44.539927]
for location in myDict:
newExtent = df.extent
newExtent.XMin = myDict[location][0]
newExtent.XMax = myDict[location][1]
newExtent.YMin = myDict[location][2]
newExtent.YMax = myDict[location][3]
df.extent = newExtent
filename="E:\\projects\\agglomeration\\Images\\"+location +".png"
arcpy.mapping.ExportToPNG(mxd, filename, resolution=144)
mxd.save()
See http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-mapping/dataframe-class.htm
See http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-mapping/exporttopng.htm
Remove basemap credits[https://community.esri.com/thread/185775-remove-service-layer-credits]:
*Insert->Dynamic Text->Service Level Credits
*Set the symbol color to no color
Help pages:
*ArcPy Functions: https://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-functions/alphabetical-list-of-arcpy-functions.htm
*Export to PNG: http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-mapping/exporttopng.htm
*Data Frames: http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-mapping/dataframe-class.htm
*Map Documents: http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-mapping/mapdocument-class.htm
*Text Elements: http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-mapping/textelement-class.htm
*Data access module: http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-data-access/what-is-the-data-access-module-.htm
===First Estimation(s)===