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.

Notes:

  • 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 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:

Related objects

Object Diagram

See also

Scanning

Working with Collections

15.08.2023 13:19:30

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.