This event is generated when an image is being scanned by the scan device.

[Visual Basic] Public Event Scanning As ProgressEventHandler
[C#] public event ProgressEventHandler Scanning;

Event Data

The event handler receives arguments of type ProgressEventArgs

Explanation

This event is generated when an image is being scanned by the scan device. To retreive the percentage that the current process has completed within this event, refer to the ProgressEventArgs arguments.

The Scanning event is only enabled when using memory transfer. It is not generated when native transfer or file transfer is used. Also, when memory transfer is used, if compression is used and the BeforeScan event's Width and Height properties of the BeforeScanEventArgs class have a value of -1, then the Scanning event is not generated.

Regarding properties of the ProgressEventArgs class: the  Percent property can retrieve the percentage of process completed; to cancel, set the Cancel property to True within this event.

See Also

ImageKit Members | Newtone.ImageKit.Wpf.ImageKit

The ImageKit WPF is created by Newtone Corporation