2

I am exporting the current mxd map with all the layers that appear but it saves it with a framework around it. How can I get rid of it? It appears as well when I export to other formats.

mxd = arcpy.mapping.MapDocument("CURRENT")
df = arcpy.mapping.ListDataFrames(mxd, "Layers")[0]  
df.scale = 1250000 
arcpy.mapping.ExportToPDF(mxd, "C:/Users/DickVater/Documents/ArcGIS/IASTE internship/Final map/year/" + name_save + ".pdf")

MXD exported to JPEG

2

In layout mode click on the data frame to select it. Then right-click, and choose Properties.

enter image description here

Click the Frame tab and choose <None> for Border.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.