RhinoCommon API
RhinoViewCaptureToBitmap Method (Size, DisplayModeDescription) |
Capture View contents to a bitmap using a display mode description to define
how drawing is performed.
Namespace: Rhino.Display
Assembly: RhinoCommon (in RhinoCommon.dll)

public Bitmap CaptureToBitmap( Size size, DisplayModeDescription mode )
Public Function CaptureToBitmap ( size As Size, mode As DisplayModeDescription ) As Bitmap
Parameters
- size
- Type: System.DrawingSize
The width and height of the returned bitmap. - mode
- Type: Rhino.DisplayDisplayModeDescription
The display mode.
Return Value
Type: BitmapA new bitmap.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14