Version

BeforeImageEdited Event

Occurs before the changes made by the user are commited to the Bitmap
Syntax
'Declaration
 
Public Event BeforeImageEdited As BeforeImageEditedEventHandler
public event BeforeImageEditedEventHandler BeforeImageEdited
Event Data

The event handler receives an argument of type BeforeImageEditedEventArgs containing data related to this event. The following BeforeImageEditedEventArgs properties provide information specific to this event.

PropertyDescription
Cancel Gets or sets the boolean value indicating if the old image should not be updated to the new image
NewImage Gets the new image after being edited
OldImage Gets the old image
Type Gets the type of change that caused this event
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also