VPMAX command
Maximizes the current viewport.

Method
This command can be used both in Model space and Paper space to expand the selected viewport.
Note: Before using the VPMAX command in Model space, create viewports using VPORTS
command.
Note: To minimize the viewport use VPMIN command.