# MVIEW Command
[GstarCAD 2012](../../Index.md) → [Commands](../%28Commands%29.md) → [M](%28M%29.md)
## Function Description:
> Create and controls layout viewports
**Command Entry:**
> MVIEW
**Command
Prompt:**
> Viewports: \[ON/OFF/Fit/2/3/4/Polygon/Object\]\<First corner\>: Specify a point or enter an option or press ENTER
>
> **First Corner**
>
> Specify a corner for rectangular viewport.
>
> **On**
>
> Make a selected viewport active. An active viewport displays objects in model space.
>
> **Off**
>
> Make a selected viewport inactive. Objects in model space are not displayed in an inactive viewport.
>
> **Fit**
>
> Create one viewport that fills the layout to the edges of the printable area. When the paper background and printable area are turned off, the viewport fills the display.
>
> **Object**
>
> Specify a closed polyline, ellipse, spline, region, or circle to convert into a viewport. The polyline you specify must be closed and contain at least three vertices.
>
> **Polygon**
>
> Create an irregularly shaped viewport using specified points.
>
> ENTER to use last point\[Follow\]\<Start of polyline\>: Specify a point or enter an option.
>
> \[Arc/Distance/Follow/Halfwidth/Width/Undo\]\<Next point\>: Specify next point or enter an option.
>
> Arc
>
> Add arc segments to the polygonal viewport.
>
> Halfwidth
>
> Specify the start halfwidth and end halfwidth of an arc.
>
> Width
>
> Specify the start width and end width of an arc.
>
> Distance
>
> Draw a line segment of a specified length at the same angle as the previous segment.
>
> Specify the length and angle of a line segment to create the polygon viewport boundary.
>
> Follow
>
> Draw a line segment of a specified length at the same angle as the previous segment. If the previous segment is an arc, the new line segment is drawn tangent to that arc segment.
>
> Undo
>
> Remove the most recent line or arc segment added to the polygonal viewport.
>
> **2**
>
> Divide the specified area horizontally or vertically into two viewports of equal size.
>
> Two viewports: \[Horizontal/Vertical\]\<Vertical\>:
>
> **3**
>
> Divide the specified area into three viewports.
>
> Three viewports: \[Horizontal/Vertical/Above/Below/Left/Right\]\<Right\>:
>
> **4**
>
> Divide the specified area horizontally and vertically into four viewports of equal size.
>
> \[Fit to screen\]\<First corner of bounding rectangle\>: Specify a point or enter F
## Other versions with matching text
[GstarCAD 2011](../../../2011/Commands/M/MVIEW%20Command.md)