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

# ScanSources Object (IScanSources Interface)

This object represents a collection of scanning sources. This object provides the standard properties and methods of the ABBYY FlexiCapture SDK collections.

> [!NOTE]
>
> * The indexing of ABBYY FlexiCapture SDK collections starts with 0.
> * The **foreach** statement in C# (**for each** in Visual Basic .NET) can be used to manipulate the collection.

* For TWAIN API type, the **ScanSources** collection contains all the registered scanning sources, connected or not. If you try to use an unconnected scanner, an error will occur. However, in some cases TWAIN scanning API can make an attempt to scan with unconnected source and return the connection error only after that.

## Properties

| **Name** | **Type** | **Description** |
| - | - | - |
| [**Count**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/count.md) | [**int**](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/properties.md), read-only | Stores the number of elements in the collection. |
| [**Element**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/element.md) | [**ScanSource**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/scansource.md), [read-only](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | Provides access to a single element of the collection. |

## Methods

| **Name** | **Description** |
| - | - |
| [**Item**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/item.md) | Provides access to a single element of the collection. |

## Output parameter

This object is the output parameter of the following methods:

* [**FindScanSources**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/scanmanager-findscansources.md) method of the [**ScanManager**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/scanmanager.md) object.

## Related objects

![](https://mintcdn.com/abbyy/DG4YBah30S0eFFo5/images/flexi-capture/sdk/ScanSources.gif?s=861b22f945cea7ed6311c32e0c36e623)

[**Object Diagram**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/objectdiagram.md)

## See also

[Scanning](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/scanning.md)

[Working with Collections](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/collections.md)
