InstanceDefinitionCreatePreviewBitmap Method (DefinedViewportProjection, Size) |
Creates a wireframe preview bitmap of the instance definition.
Namespace:
Rhino.DocObjects
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax public Bitmap CreatePreviewBitmap(
DefinedViewportProjection definedViewportProjection,
Size bitmapSize
)
Public Function CreatePreviewBitmap (
definedViewportProjection As DefinedViewportProjection,
bitmapSize As Size
) As Bitmap
Parameters
- definedViewportProjection
- Type: Rhino.DisplayDefinedViewportProjection
The view projection. - bitmapSize
- Type: System.DrawingSize
The bitmap size in pixels.
Return Value
Type:
BitmapThe preview bitmap if successful, null otherwise.
See Also