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 following methods:

Samples

This object is used in the following code samples: Scanning.

See also

ScanManager

17.09.2024 15:14:40

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.