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)
Since: 6.0
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 otherwise.
See Also