ImageMan.Net Version 3 Summer 2012 Release
PageSaving Event
See Also  Send Feedback
DTI.ImageMan Namespace > ImageCollection Class : PageSaving Event





Glossary Item Box

Fired when a page is going to be saved.

Syntax

Visual Basic (Declaration) 
Public Event PageSaving As ImageCollection.PageSavingEventHandler
Visual Basic (Usage)Copy Code
Dim instance As ImageCollection
Dim handler As ImageCollection.PageSavingEventHandler
 
AddHandler instance.PageSaving, handler
C# 
public event ImageCollection.PageSavingEventHandler PageSaving
JScript 
In JScript, you can handle the events defined by another class, but you cannot define your own.
Managed Extensions for C++ 
public: __event ImageCollection.PageSavingEventHandler* PageSaving
C++/CLI 
public:
event ImageCollection.PageSavingEventHandler^ PageSaving

Event Data

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.

PropertyDescription
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.

Requirements

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

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.