Maximizes the current viewport.
This command can be used both in Model space and Paper space to expand the selected viewport. When the Paper space only contains one viewport, running the command automatically selects the viewport. The command stops when there are no viewports available. If the selected object is not a viewport, the message A single viewport is expected appears in the Command line. The background color of the maximized viewport is automatically changed to the color of the Model space.
Note: Before using the VPMAX command in Model space, create viewports by using the VPORTS command.
Note: To minimize the viewport, use the VPMIN command.