Each layout element
has a set of properties that you can update programmatically. For example,
LegendElement includes properties that allow you to change the position of the legend on the page, update the legend title, and access the legend items.
There are many different types of layout elements including graphics, legends, text, maps, and pictures. Each of these elements is represented by a class in the
arcpy.mapping package. These classes provide various properties that you can use to programmatically alter the element.
DataFrame class provides access to data frame properties in the map document file. This object can work with both map units and page layout units, depending upon the property ...