# RhinoView class

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

```cs
public class RhinoView
```

A RhinoView represents a single "window" display of a document. A view could contain one or many RhinoViewports (many in the case of Layout views with detail viewports). Standard Rhino modeling views have one viewport.

**Derived types:** [RhinoPageView](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinopageview.md)

## Properties

- [ActiveViewport](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/activeviewport.md): The ActiveViewport is the same as the MainViewport for standard RhinoViews. In a RhinoPageView, the active viewport may be the RhinoViewport of a child detail object. Most of the time, you will use ActiveViewport unless you explicitly need to work with the main viewport.
- [ActiveViewportID](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/activeviewportid.md): Returns viewport ID for the active viewport. Faster than ActiveViewport function when working with page views.
- [Bounds](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/bounds.md): Gets the size and location of the view including its non-client elements, in pixels, relative to the parent control.
- [ClientRectangle](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/clientrectangle.md): Gets the rectangle that represents the client area of the view.
- [DisplayPipeline](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/displaypipeline.md): Gets the display pipeline used for this view.
- [Document](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/document.md)
- [EnableDrawing](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/enabledrawing.md): (static) Gets or sets the 'drawing enabled' flag. By default, drawing is enabled. There are some rare situations where scripts want to disable drawing for a while.
- [Floating](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/floating.md): Floating state of RhinoView. if true, then the view will be in a floating frame window. Otherwise the view will be embedded in the main frame.
- [Handle](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/handle.md): Gets the window handle that this view is bound to.
- [InDynamicViewChange](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/indynamicviewchange.md): true if the view is being dynamically changed by mouse moves, arrow keys, trackballs, etc.
- [MainViewport](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/mainviewport.md): A RhinoView contains a "main viewport" that fills the entire view client window. RhinoPageViews may also contain nested child RhinoViewports for implementing detail viewports. The MainViewport will always return this RhinoView's m_vp.
- [Maximized](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/maximized.md)
- [RealtimeDisplayMode](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/realtimedisplaymode.md): Gets the RealtimeDisplayMode active for this view. null if the view doesn't have a RealtimeDisplayMode set.
- [RuntimeSerialNumber](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/runtimeserialnumber.md)
- [ScreenRectangle](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/screenrectangle.md): Gets the rectangle that represents the client area of the view in screen coordinates.
- [Size](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/size.md): Gets or sets the size of the view
- [TitleVisible](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/titlevisible.md): Visibility of the viewport title window.

## Methods

- [CaptureToBitmap](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/capturetobitmap.md): (8 overloads) Capture View contents to a bitmap.
- [ClientToScreen](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/clienttoscreen.md): (2 overloads)
- [Close](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/close.md): Remove this View from Rhino. DO NOT attempt to use this instance of this class after calling Close.
- [CreateShadedPreviewImage](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/createshadedpreviewimage.md): Creates a bitmap preview image of model.
- [CreateWireframePreviewImage](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/createwireframepreviewimage.md): Creates a bitmap preview image of model.
- [Equals](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/equals.md)
- [FromRuntimeSerialNumber](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/fromruntimeserialnumber.md): (static) Get a RhinoView from it's unique runtime serial number
- [GetHashCode](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/gethashcode.md)
- [MouseCaptured](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/mousecaptured.md): Returns whether or not the mouse is captured in this view.
- [Redraw](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/redraw.md): Redraws this view.
- [RedrawOverlays](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/redrawoverlays.md): Redraws this view without regenerating its contents, when possible.
- [ScreenToClient](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/screentoclient.md): (2 overloads) Converts a point in screen coordinates to client coordinates for this view.
- [ShowToast](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/showtoast.md): (3 overloads) Shows a temporary popup message in the lower right corner of the view
- [SpeedTest](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/speedtest.md)

## Events

- [Create](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/create.md): (static)
- [Destroy](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/destroy.md): (static)
- [EnableDrawingChanged](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/enabledrawingchanged.md): (static) Called when the state of [RhinoView.EnableDrawing](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/enabledrawing.md) changes.
- [Modified](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/modified.md): (static)
- [Rename](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/rename.md): (static)
- [SetActive](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/setactive.md): (static)
