Click or drag to resize

InstanceDefinitionCreatePreviewBitmap Method (DefinedViewportProjection, DisplayMode, Size)

Creates a preview bitmap of the instance definition.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public Bitmap CreatePreviewBitmap(
	DefinedViewportProjection definedViewportProjection,
	DisplayMode displayMode,
	Size bitmapSize
)

Parameters

definedViewportProjection
Type: Rhino.DisplayDefinedViewportProjection
The view projection.
displayMode
Type: Rhino.DocObjectsDisplayMode
The display mode.
bitmapSize
Type: System.DrawingSize
The bitmap size in pixels.

Return Value

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