Changing page layout from portrait to landscape using ArcPy with ArcMap? is answered by saying that changing a layout size in ArcMap requires you to use .Net or comtypes rather than ArcPy (arcpy.mapping).

With ArcGIS Pro now available, can it be done there using ArcPy (arcpy.mp)?

1 Answer 1


This becomes easy in ArcGIS Pro where, since at least ArcGIS Pro 1.4.1 (and probably earlier), the Layout class of arcpy.mp has Read and Write Properties for pageHeight and pageWidth to set a layout's page height and based on the current pageUnits.

In ArcGIS Pro not only can you change Portrait to Landscape, but you can make your layout size be whatever size you want, from ArcPy using its arcpy.mp sub-module.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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