RhinoCommon API
RenderTextureSaveAsImage Method |
Save texture as image
Namespace: Rhino.Render
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 6.15

public bool SaveAsImage( string FullPath, int width, int height, int depth )
Public Function SaveAsImage ( FullPath As String, width As Integer, height As Integer, depth As Integer ) As Boolean
Parameters
- FullPath
- Type: SystemString
The full path of the file - width
- Type: SystemInt32
Image width - height
- Type: SystemInt32
Image height - depth
- Type: SystemInt32
Image depth
Return Value
Type: Booleanreturns true if file was saved, otherwise false
