Fired when a page is going to be saved.
In JScript, you can handle the events defined by another class, but you cannot define your own.
The event handler receives an argument of type PageSavingEventArgs containing data related to this event. The following PageSavingEventArgs properties provide information specific to this event.
|Cancel ||Gets or Sets a flag indicating if the Save operation should continue.|
|CurrentPage ||Gets the current page number of the image being saved.|
|Encoder ||Gets the encoder that is going to be used to save the image. This encoder can have properties set on it prior to saving.|
|Image ||Gets the image that is going to be saved.|
|Pages ||Gets the total number of pages being saved.|
|StartPage ||Gets the start page number for the current image being saved.|
Target Platforms: 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