RhinoCommon API
DrawingUtilitiesCreateMeshPreviewImage Method (IEnumerableMesh, IEnumerableColor, Size) |
Creates a preview image of one or more meshs.
Namespace: Rhino.UI
Assembly: RhinoCommon (in RhinoCommon.dll)
public static Bitmap CreateMeshPreviewImage( IEnumerable<Mesh> meshes, IEnumerable<Color> colors, Size size )
Public Shared Function CreateMeshPreviewImage ( meshes As IEnumerable(Of Mesh), colors As IEnumerable(Of Color), size As Size ) As Bitmap
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: BitmapA bitmap if successful, null othewise.