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.
- 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.
|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.|
|Item||Provides access to a single element of the collection.|
This object is the output parameter of the following methods:
- FindScanSources method of the ScanManager object.
This object is used in the Scanning code sample.
3/24/2023 8:51:52 AM