# CustomRenderSaveFileTypes.SaveFileHandler delegate

Namespace: [Rhino.PlugIns](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.plugins.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public delegate CustomRenderSaveFileTypes.SaveFileHandler
```

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

**Signature:**

```cs
bool CustomRenderSaveFileTypes.SaveFileHandler(string fileName, bool includeAlpha, RenderWindow renderWindow)
```

**Parameters:**

- `fileName` ([string](https://learn.microsoft.com/dotnet/api/system.string)): Name of the file to write.
- `includeAlpha` ([bool](https://learn.microsoft.com/dotnet/api/system.boolean)): Only meaningful if the custom file type optionally supports alpha channel.
- `renderWindow` ([RenderWindow](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow.md)): The [RenderWindow](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow.md) to save.
