ViewCapture on a ViewPortControl

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 :slight_smile:
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?

Hi @david.birch.uk,

I know this thread is old. Is this still an issue?

– Dale

1 Like

Thanks @dale yes I never found a solution to this one. It is not urgent as we found another way to build our product.