RhinoCommon API
RhinoViewCaptureToBitmap Method (Size, Boolean, Boolean, Boolean) |
Captures a part of the view contents to a bitmap allowing for visibility of grid and axes.
Namespace: Rhino.Display
Assembly: RhinoCommon (in RhinoCommon.dll)

public Bitmap CaptureToBitmap( Size size, bool grid, bool worldAxes, bool cplaneAxes )
Public Function CaptureToBitmap ( size As Size, grid As Boolean, worldAxes As Boolean, cplaneAxes As Boolean ) As Bitmap
Parameters
- size
- Type: System.DrawingSize
The width and height of the returned bitmap. - grid
- Type: SystemBoolean
true if the construction plane grid should be visible. - worldAxes
- Type: SystemBoolean
true if the world axis should be visible. - cplaneAxes
- Type: SystemBoolean
true if the construction plane close the the grid should be visible.
Return Value
Type: BitmapA new bitmap.

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