This documentation is for the old version. Go to the latest Graphics Mill docs

Bitmap.Saving Event

Fires when image is being saved (before starting).

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Protected Event Saving As BitmapSavingEventHandler
C#
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 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).

See Also

Reference