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
)
Public Shared Function CreateMeshPreviewImage (
doc As RhinoDoc,
meshes As IEnumerable(Of Mesh),
colors As IEnumerable(Of Color),
size As Size
) As Bitmap
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:
BitmapA bitmap if successful, null otherwise.
See Also