Click or drag to resize

RhinoPageViewGetPreviewImage Method

Creates a preview image of the page.

Namespace:  Rhino.Display
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 7.0
Syntax
public Bitmap GetPreviewImage(
	Size size,
	bool grayScale
)

Parameters

size
Type: System.DrawingSize
The size of the preview image.
grayScale
Type: SystemBoolean
Set true to produce a grayscale image, false to produce a color image.

Return Value

Type: Bitmap
A bitmap if successful, null otherwise.
See Also