Chinese Simplified (简体中文)

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:

Related objects

Object Diagram

Samples

This object is used in the Scanning code sample.

See also

Scanning

Working with Collections

24.03.2023 8:51:52

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.