Get and set MXD layout size and orientation in ArcPy

05-17-2011 12:18 PM
Status: Closed
Labels (1)
New Contributor II
I need to be able to get and set the MapDocument page size and orientation in ArcPy. Currently, it is impossible for arcpy to know whether the layout elements of any given MapDocument are on or off the layout. I want to be able to adjust the position of layout elements to fit on a page, as well as be able to change the page size or orientation in relation to the currently chosen Data Driven Page.
1 Comment
Status changed to: Closed

Setting the page size in arcpy.mapping (for ArcMap layouts) will not be implemented.  It is implemented as part of in ArcGIS Pro.  The Layout Object has a pageUnits, pageHeight, and pageWidth properties.

Jeff - Layout and teams