# RenderSourceView class

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

```cs
public class RenderSourceView : IDisposable
```

Helper class to get the correct view from the Render View Source settings. An instance of this class is supposed to be used with the using() {} construct.

## Constructors

- [RenderSourceView](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.rendersourceview/ctor.md): Create a new RenderSourceView for the given doc. Note that this should be done with using(var rsv = new RenderSourceView(doc)) {} If the RenderSettings have the source view set to for instance a SnapShot this construct will ensure that the (active) view is set to the correct snapshot, and reverted back to the original once this instance goes out of scope.

## Finalizer

- [~RenderSourceView](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.rendersourceview/finalize.md)

## Methods

- [Dispose](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.rendersourceview/dispose.md): (2 overloads)
- [GetViewInfo](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.rendersourceview/getviewinfo.md): Get the ViewInfo as specified by the render source view settings.
