# ViewInfo class

Namespace: [Rhino.DocObjects](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.docobjects.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public class ViewInfo : IDisposable
```

Represents the name and orientation of a View (and named view).

views can be thought of as cameras.

## Constructors

- [ViewInfo](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/ctor.md): (3 overloads) Create a default ViewInfo instance

## Finalizer

- [~ViewInfo](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/finalize.md): Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().

## Properties

- [ClippingPlanesIds](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/clippingplanesids.md): Returns a list of clipping plane Ids associated with this view.
- [DisplayModeId](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/displaymodeid.md): The id of the display mode this view opens in - wireframe, shaded, rendered, or any custom display mode. [DisplayModeDescription](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.displaymodedescription.md) holds the standard ids. A nil id means the view has no display mode of its own and opens in wireframe, which is what every template generated without this property did.
- [FocalBlurAperture](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/focalbluraperture.md): Gets or sets the Focal blur aperture of the active viewport
- [FocalBlurDistance](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/focalblurdistance.md): Gets or sets the Focal blur distance of the active viewport
- [FocalBlurJitter](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/focalblurjitter.md): Gets or sets the Focal blur jitter of the active viewport
- [FocalBlurMode](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/focalblurmode.md): Gets or sets the Focal blur mode of the active viewport
- [FocalBlurSampleCount](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/focalblursamplecount.md): Gets or sets the Focal blur sample count of the active viewport
- [LockedProjection](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/lockedprojection.md): Whether the view's projection is locked against changes.
- [Maximized](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/maximized.md): Gets or sets whether the view window is maximized in the frame window. Together with the window position (see [ViewInfo.GetWindowPosition(double, double, double, double)](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/getwindowposition.md)) this is stored in the 3dm file and controls the viewport layout when the file is opened.
- [Name](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/name.md): Gets or sets the name of the view.
- [NamedViewId](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/namedviewid.md): Returns a unique id if this is a named view otherwise an empty Guid.
- [RenderingSize](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/renderingsize.md): The pixel size this view renders at.
- [SectionBehavior](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/sectionbehavior.md): How a view will interact with clipping planes
- [ShowConstructionAxes](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/showconstructionaxes.md): Whether the construction plane x and y axes are drawn in this view.
- [ShowConstructionGrid](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/showconstructiongrid.md): Whether the construction plane grid is drawn in this view.
- [ShowConstructionZAxis](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/showconstructionzaxis.md): Whether the construction plane z axis is drawn in this view.
- [ShowWallpaperInGrayScale](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/showwallpaperingrayscale.md): True if wallpaper (if any) is to be shown in gray scale in this view.
- [ShowWorldAxes](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/showworldaxes.md): Whether the world axes icon is drawn in the corner of this view.
- [Viewport](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/viewport.md): Gets the viewport, or viewing frustum, associated with this view.
- [ViewType](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/viewtype.md): Whether this view is a model view, a layout page, a nested (detail) view, or one of the special editor views. A page view must be an orthographic top view; see [PageSettings](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.pagesettings.md) for its paper size.
- [WallpaperFilename](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/wallpaperfilename.md): Get filename for wallpaper set to this view, if any.
- [WallpaperHidden](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/wallpaperhidden.md): True if wallpaper (if any) is to be hidden from this view.

## Methods

- [ClippingPlaneSurfaces](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/clippingplanesurfaces.md): Returns a list of ClippingPlaneSurfaces for this view.
- [Dispose](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/dispose.md): (2 overloads) Actively reclaims unmanaged resources that this instance uses.
- [GetConstructionPlane](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/getconstructionplane.md): Gets the view's construction plane, including its grid settings: grid and snap spacing, grid line count, thick-line frequency, and depth buffering.
- [GetPageSettings](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/getpagesettings.md): Gets the paper size and margins of this view. Only meaningful when [ViewInfo.ViewType](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/viewtype.md) is [ViewType.PageView](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewtype.md).
- [GetWindowPosition](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/getwindowposition.md): Gets the position of the view window in the frame window, expressed as fractions (0 to 1) of the frame window size.
- [SetConstructionPlane](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/setconstructionplane.md): Sets the view's construction plane, including its grid settings.
- [SetPageSettings](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/setpagesettings.md): Sets the paper size and margins of this view. Set [ViewInfo.ViewType](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/viewtype.md) to [ViewType.PageView](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewtype.md) as well, or the page settings are ignored.
- [SetWindowPosition](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/setwindowposition.md): Sets the position of the view window in the frame window, expressed as fractions (0 to 1) of the frame window size. The [ViewInfo.Maximized](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/maximized.md) state is preserved.
