RenderSourceView

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

#Since v6.0
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.
public RenderSourceView(
doc
Rhino document
)

Finalizer

~RenderSourceView

#
~RenderSourceView()

Methods

Dispose

#Since v6.0
public void Dispose()

Dispose

#
protected virtual void Dispose(
isDisposing
)

GetViewInfo

#Since v6.0
Get the ViewInfo as specified by the render source view settings.
public ViewInfo GetViewInfo()
ViewInfo if view was found, null otherwise