Click or drag to resize

DrawingUtilitiesCreateMeshPreviewImage Method (Mesh, Color, Size)

Creates a preview image of a mesh.

Namespace:  Rhino.UI
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static Bitmap CreateMeshPreviewImage(
	Mesh mesh,
	Color color,
	Size size
)

Parameters

mesh
Type: Rhino.GeometryMesh
The mesh.
color
Type: System.DrawingColor
The draw color.
size
Type: System.DrawingSize
The size of the preview image.

Return Value

Type: Bitmap
A bitmap if successful, null othewise.
Version Information

Rhino for Windows

Supported in: 6.4
See Also