I have am hosting a RhinoWindows.Forms.Controls.ViewportControl
in our Form
.
I can render geometry and move the view around perfectly which is really neat
However I am struggling to use the ViewCapture
class to take a screenshot.
All of the ViewCapture
methods require a RhinoView
however it appears that the ViewPortControl
is created (within RhinoWindows
) without specifying a RhinoView
so its ParentView
is null.
I am probably missing something simple but given the ViewportControl
is there a means of getting or associating a RhinoView
so that I can then use the ViewCapture routines?