Click or drag to resize

RhinoViewCreateShadedPreviewImage Method

Creates a bitmap preview image of model.

Namespace:  Rhino.Display
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public bool CreateShadedPreviewImage(
	string imagePath,
	Size size,
	bool ignoreHighlights,
	bool drawConstructionPlane,
	bool useGhostedShading
)

Parameters

imagePath
Type: SystemString
[in] The name of the bitmap file to create. The extension of the imagePath controls the format of the bitmap file created (BMP, TGA, JPG, PCX, PNG, TIF).
size
Type: System.DrawingSize
[in] The width and height of the bitmap in pixels.
ignoreHighlights
Type: SystemBoolean
true if highlighted elements should be drawn normally.
drawConstructionPlane
Type: SystemBoolean
true if the CPlane should be drawn.
useGhostedShading
Type: SystemBoolean
true if ghosted shading (partially transparent shading) should be used.

Return Value

Type: Boolean
true if successful.
See Also