Click or drag to resize

InstanceDefinitionCreatePreviewBitmap Method (DefinedViewportProjection, Size, Boolean)

Creates a wireframe preview bitmap of the instance definition.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.0
Syntax
public Bitmap CreatePreviewBitmap(
	DefinedViewportProjection definedViewportProjection,
	Size bitmapSize,
	bool applyDpiScaling
)

Parameters

definedViewportProjection
Type: Rhino.DisplayDefinedViewportProjection
The view projection.
bitmapSize
Type: System.DrawingSize
The bitmap size in pixels.
applyDpiScaling
Type: SystemBoolean
Specify true to apply DPI scaling (Windows-only).

Return Value

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