Click or drag to resize

CustomRenderSaveFileTypesSaveFileHandler Delegate

Called when a user chooses to save a rendered scene as this custom file type.

Namespace:  Rhino.PlugIns
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public delegate bool SaveFileHandler(
	string fileName,
	bool includeAlpha,
	RenderWindow renderWindow
)

Parameters

fileName
Type: SystemString
Name of the file to write.
includeAlpha
Type: SystemBoolean
Only meaningful if the custom file type optionally supports alpha channel.
renderWindow
Type: Rhino.RenderRenderWindow
The RenderWindow to save.

Return Value

Type: Boolean
Return true if the file was written successfully otherwise return false.
See Also