Click or drag to resize

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)
Syntax
public Bitmap CaptureToBitmap(
	Size size,
	bool grid,
	bool worldAxes,
	bool cplaneAxes
)

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: Bitmap
A new bitmap.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.11
See Also