ImageGear for .NET
AfterPage Event
See Also  Send Feedback
ImageGear21.Twain Assembly > ImageGear.TWAIN Namespace > ImGearTWAIN Class : AfterPage Event




Glossary Item Box

This event is fired after each page is scanned using any of the scanning methods of ImGearTWAIN.

Syntax

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

Event Data

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

PropertyDescription
CancelScanning Gets or sets a value indicating whether to cancel scanning.
Page Gets ImGearPage object containing the page just scanned.
PageNumber Gets number of page just scanned. The first page is number 1.
PendCount Gets number of pages remaining to be scanned. -1 if unknown.

Remarks

NOTE: Methods and properties of ImGearTWAIN should not be accessed in the event handler for this event.

This event can be used by an application to monitor scanning progress (on a per-page basis) and access the image just scanned. It can also be used to cancel scanning, if the application's event handler sets the ImGearTWAINAfterPageEventArgs.CancelScanning property to true.

See ImGearTWAINAfterPageEventHandler for an example of how to use this event.

See Also

©2013. Accusoft Corporation. All Rights Reserved.