RhinoView.CaptureToBitmap Method (Size, DisplayPipelineAttributes)

RhinoViewCaptureToBitmap Method (Size, DisplayPipelineAttributes)

Capture View contents to a bitmap using display attributes to define how drawing is performed.

Namespace:  Rhino.Display
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public Bitmap CaptureToBitmap(
	Size size,
	DisplayPipelineAttributes attributes
)
Public Function CaptureToBitmap ( 
	size As Size,
	attributes As DisplayPipelineAttributes
) As Bitmap

Parameters

size
Type: System.DrawingSize
The width and height of the returned bitmap.
attributes
Type: Rhino.DisplayDisplayPipelineAttributes
The specific display mode attributes.

Return Value

Type: Bitmap
A new bitmap.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.14
See Also