> ## 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.

# CancelScan Method of the ScanSource Object

<Note>
  This method is implemented in FRE for Windows.
</Note>

This method cancels the asynchronous scanning operation.

## Syntax

### C++

```cpp theme={null}
HRESULT CancelScan();
```

## Return values

This method may return the [standard return values of ABBYY FineReader Engine functions](/fine-reader/engine/api-reference/return-codes).

## See also

[ScanSource](/fine-reader/engine/api-reference/mechanism-objects/scansource)
