IScanCallback Interface

This is a callback interface that is used for managing scanning operations. This interface is implemented on the client side.

An object receiving notifications through this interface's methods may do the following inside the methods' implementation:

  • Process any Windows messages, which is useful in applications having User Interface, to avoid the effect that the application “is not responding” during long operations.
  • Report errors which occurred during scanning to the user.
  • Cancel processing.

Methods

Name Description
OnError Delivers to the client information about the errors that occurred during scanning.
OnImageScanned Delivers information about the course of the scanning operation and allows it to be stopped if necessary.
OnScanComplete Gives notification that the scanning operation has been completed.

Input parameter

This object is passed as an input parameter to the Scan and BeginScan methods of the ScanSource object.

See also

ScanManager

15.08.2023 13:19:30

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.