Changing space

In the layout sheet how do I switch from modelspace to paperspace and vice versa?

SolidworksApi macros