Rotate TextElement in Layout View

667
1
05-21-2014 12:34 PM
PhillipCobb
New Contributor
I was wondering if anyone knew of a way to rotate a text element 90 degrees using python. I know I am able to do it by hand in ArcMap, but i was hoping to find a way to automatically rotate the text using python code. Any suggestions?
Tags (2)
0 Kudos
1 Reply
KimOllivier
Occasional Contributor III
The way that Esri suggests is to keep a template graphic element located off the layout page that has 90 degrees set. You clone an element and edit the text with arcpy.mapping functions on Layout Elements.

Have a look at the help for Layout Elements. There is a sample script for exactly this case so I won't bother to duplicate it here.
http://resources.arcgis.com/en/help/main/10.1/index.html#//00s300000040000000
0 Kudos