> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 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**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/iscancallback-onerror.md) | Delivers to the client information about the errors that occurred during scanning. |
| [**OnImageScanned**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/iscancallback-onimagescanned.md) | Delivers information about the course of the scanning operation and allows it to be stopped if necessary. |
| [**OnScanComplete**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/iscancallback-onscancomplete.md) | Gives notification that the scanning operation has been completed. |

## Input parameter

This object is passed as an input parameter to the [**Scan**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/scansource-scan.md) and [**BeginScan**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/scansource-beginscan.md) methods of the [**ScanSource**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/scansource.md) object.

## See also

[**ScanManager**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/scanmanager.md)
