ZoomToFit (Layout Editor)

Zoom the current layout to fit the contents of the currently visible page

UI Access View > Fit All or the Fit All button on the View ribbon.
Parameters

None.

Return Value None.

 

Python Syntax ZoomToFit()
Python Example

oDesign = oProject.SetActiveDesign("projectName")

oEditor = oDesign.SetActiveEditor("Layout")

oEditor.ZoomToFit()