RhinoCommon API
RhinoPageViewGetPreviewImage Method |
Creates a preview image of the page.
Namespace: Rhino.Display
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 7.0

public Bitmap GetPreviewImage( Size size, bool grayScale )
Public Function GetPreviewImage ( size As Size, grayScale As Boolean ) As Bitmap
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: BitmapA bitmap if successful, null otherwise.
