GetSystemDefaultSource returns system default Twain source.

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 14.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