Fires when image is being saved (before starting).
Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Protected Event Saving As BitmapSavingEventHandler |
| C# |
|---|
protected event BitmapSavingEventHandler Saving |
| Visual C++ |
|---|
protected: event BitmapSavingEventHandler^ Saving { void add (BitmapSavingEventHandler^ value); void remove (BitmapSavingEventHandler^ value); } |
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 argument passed to this event. You also can cancel saving by setting Cancel argument to false.
This event is fired only if you run the operations through build-in methods or properties. If you create external FormatWriter descendant class and run it, this event will not fire (in this case you should use Starting event of this writer).