---
title: "Bitmap..::.Saving Event"
canonical: https://www.graphicsmill.com/docs/gm5/E_Aurigma_GraphicsMill_Bitmap_Saving.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# Bitmap.Saving Event
 
Fires when image is being saved (before starting).
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Protected Event Saving As BitmapSavingEventHandler
```
 
```csharp
protected event BitmapSavingEventHandler Saving
```
 
## Remarks
  
This event can be used to place encoder options initialization at the single place. For example, here you can display encoder options dialog and then initialize encoder options using [Options](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_BitmapSavingEventArgs_Options.htm.md) argument passed to this event. You also can cancel saving by setting [Cancel](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_BitmapSavingEventArgs_Cancel.htm.md) argument to **false**.
 
This event is fired only if you run the operations through build-in methods or properties. If you create external [FormatWriter](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_FormatWriter.htm.md) descendant class and run it, this event will not fire (in this case you should use [Starting](https://www.graphicsmill.com/docs/gm5/E_Aurigma_GraphicsMill_ISyncEvents_Starting.htm.md) event of this writer).
   
## See Also

### Reference

- [Bitmap Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Bitmap.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
