ScanSources Object (IScanSources Interface)
This object represents a collection of scanning sources. This object provides the standard properties and methods of the ABBYY FineReader Engine collections.
Notes:
- The indexing of ABBYY FineReader Engine 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 |
---|---|---|
Application | Engine, read-only | Returns the Engine object. |
Count | int, read-only | Stores the number of elements in the collection. |
Element | ScanSource, read-only | Provides access to a single element of the collection. |
Methods
Name | Description |
---|---|
Item | Provides access to a single element of the collection. |
Output parameter
This object is the output parameter of the following methods:
- FindScanSources method of the ScanManager object.
Related objects
Samples
This object is used in the Scanning code sample.
See also
17.09.2024 15:14:41