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)
Since: 5.0
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 grid should be visible.

Return Value

Type: Bitmap
A new bitmap.
See Also