GetSystemDefaultSource returns system default TWain source.

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.0.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public int GetSystemDefaultSource()
Public Function GetSystemDefaultSource As Integer
public:
int GetSystemDefaultSource()

Return Value

For default the source has the index 0, but this one should be different from system default source.

Examples

CopyC#
Image.TWainParams.ActiveSource=Image.TWainParams.GetSystemDefaultSource();

See Also