Click or drag to resize

DrawingUtilitiesCreateMeshPreviewImage Method (RhinoDoc, IEnumerableMesh, IEnumerableColor, Size)

Creates a preview image of one or more meshes.

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

Parameters

doc
Type: RhinoRhinoDoc
The active document.
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