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
)
Public Shared Function CreateMeshPreviewImage (
mesh As Mesh,
color As Color,
size As Size
) As Bitmap
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:
BitmapA bitmap if successful, null otherwise.
See Also