FindScanSources Method of the ScanManager Object

This method enables you to receive a list of available scanning sources filtered by user interface type and API type that the scanner provides.



HRESULT FindScanSources(
  ScanSourceUITypeEnum  UiType,
  ScanSourceApiTypeEnum ApiType,
  IScanSources**        Result


IScanSources FindScanSources(
  ScanSourceUITypeEnum  UiType,
  ScanSourceApiTypeEnum ApiType

Visual Basic .NET

Function FindScanSources( _
  UiType As ScanSourceUITypeEnum, _
  ApiType As ScanSourceApiTypeEnum _
) As IScanSources


[in] This variable specifies the type of user interface that must be supported by the scanning source. Its value can be one of the ScanSourceUITypeEnum constants. If you do not wish to filter by type of user interface, pass the SSUIT_All or SSUIT_None constant.
[in] This variable specifies the API type that must be supported by the scanning source. It is defined as one of the ScanSourceApiTypeEnum constants.
[out, retval] A pointer to the IScanSources* pointer variable that receives the interface pointer of the ScanSources object.

Return values

This method may return the standard return values of ABBYY FineReader Engine functions.

See also


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.