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
)
Public Function GetCanvasScreenBuffer (
modeOverride As GH_CanvasMode
) As Bitmap
Parameters
- modeOverride
- Type: Grasshopper.GUI.CanvasGH_CanvasMode
The mode to apply during the off-screen rendering.
Return Value
Type:
BitmapA Format24bppRgb bitmap similar to the current canvas display.
See Also