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.
Syntax
C++
HRESULT FindScanSources( ScanSourceUITypeEnum UiType, ScanSourceApiTypeEnum ApiType, IScanSources** Result );
C#
IScanSources FindScanSources( ScanSourceUITypeEnum UiType, ScanSourceApiTypeEnum ApiType );
Visual Basic .NET
Function FindScanSources( _ UiType As ScanSourceUITypeEnum, _ ApiType As ScanSourceApiTypeEnum _ ) As IScanSources
Parameters
- UiType
- [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.
- ApiType
- [in] This variable specifies the API type that must be supported by the scanning source. It is defined as one of the ScanSourceApiTypeEnum constants.
- Result
- [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
17.09.2024 15:14:41