Click or drag to resize

DrawingUtilitiesCreateMeshPreviewImage Method (IEnumerableMesh, IEnumerableColor, Size)

Creates a preview image of one or more meshes.

Namespace:  Rhino.UI
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.0
Syntax
public static Bitmap CreateMeshPreviewImage(
	IEnumerable<Mesh> meshes,
	IEnumerable<Color> colors,
	Size size
)

Parameters

meshes
Type: System.Collections.GenericIEnumerableMesh
The meshes.
colors
Type: System.Collections.GenericIEnumerableColor
The draw colors, one for each mesh.
size
Type: System.DrawingSize
The size of the preview image.

Return Value

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