I’m trying to capture the document from a certain viewport and am using the following VB code to do so:
Dim View As Rhino.Display.RhinoView = document.Views.ActiveView If View.Equals(Nothing) Then Return Rhino.Commands.Result.Failure Else Dim capture As Bitmap = View.CaptureToBitmap() capture.Save(FilePath) End If
In the Rhino print dialog there are the options Viewport, Extents, Window.
How can I mirror the effect of ‘Extents’ - i.e. capture everything in the document, and use the ActiveView only to decide which direction to capture from? Should I be changing the variable “View” above, or are there arguments of CaptureToBitmap() to do this?