ImageGear for .NET
ImGearTWAINAfterPageEventHandler Delegate
See Also  Example Send Feedback
ImageGear21.Twain Assembly > ImageGear.TWAIN Namespace : ImGearTWAINAfterPageEventHandler Delegate




sender
Object which triggered the event.
e
Data about the event.

Glossary Item Box

This is the delegate used to pass AfterPage events on to an application event handler.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

sender
Object which triggered the event.
e
Data about the event.

Remarks

The delegate follows the standard .NET event model. The AfterPage event occurs after scanning a page. It provides the page number to be scanned and gives an opportunity to cancel scanning.

Here's an example of typical AfterPage event registration and declaration:

Example

C#Copy Code
// Event Registration
ImGearTWAIN imGearTWAIN = new ImGearTWAIN();
imGearTWAIN.AfterPage += new ImGearTWAINAfterPageEventHandler(imGearTWAIN_AfterPage);
C#Copy Code
// Event Declaration
void imGearTWAIN_AfterPage(object sender, ImGearTWAINAfterPageEventArgs e)
{
    // Access event arguments via ImGearTWAINAfterPageEventArgs e
}

See Also

©2013. Accusoft Corporation. All Rights Reserved.