I am exporting a map using arcpy.mapping.Export to PDF. I am panning and zooming to points that have meaning to the user. I would like to figure out how to add a Title to the map I am exporting.
I have the string of text I what to add. I trying using the data frame dn.name = "TEXT". But the just update the ledgend in arcmap. It seems to me that there should be a way. I just don't know it.
That didn't work. Should I have set data driven page to on? Also, I put a debug statement in the the for loop and it never goes in there. Is "TEXT_ELEMENT" really what I'm looking for?
You need to create a text element that you want as your title, and you need to name it whatever you want to reference in the "element_title" parameter.