RhinoCommon API
RhinoViewCreateShadedPreviewImage Method |
Creates a bitmap preview image of model.
Namespace: Rhino.Display
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 5.0

public bool CreateShadedPreviewImage( string imagePath, Size size, bool ignoreHighlights, bool drawConstructionPlane, bool useGhostedShading )
Public Function CreateShadedPreviewImage ( imagePath As String, size As Size, ignoreHighlights As Boolean, drawConstructionPlane As Boolean, useGhostedShading As Boolean ) As Boolean
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: Booleantrue if successful.
