Click or drag to resize

GH_CanvasGetCanvasScreenBuffer Method

Get a bitmap that resembles the current state of the canvas.

Namespace:  Grasshopper.GUI.Canvas
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public Bitmap GetCanvasScreenBuffer(
	GH_CanvasMode modeOverride
)

Parameters

modeOverride
Type: Grasshopper.GUI.CanvasGH_CanvasMode
The mode to apply during the off-screen rendering.

Return Value

Type: Bitmap
A Format24bppRgb bitmap similar to the current canvas display.
See Also