Select source without GUI

Questions, comments and suggestions concerning VintaSoft Twain .NET SDK.

Moderator: Alex

Post Reply
Posts: 1
Joined: Wed Dec 10, 2008 7:23 pm

Select source without GUI

Post by ctn » Wed Dec 10, 2008 7:25 pm

Dear all

Is it possible to select a source base on the source list which will be returned with this source code?

Code: Select all

			int numberOfSources = _vsTwain.SourcesCount;
			Console.WriteLine("displaySourceName(): Number of sources: {0}", numberOfSources);
			for (int i=0; i<numberOfSources; i++)
				Console.WriteLine("displaySourceName(): Source{0} --> name={1}", i, _vsTwain.GetSourceProductName(i));
As I understand

Code: Select all

can just be used if a source has been selected with a GUI.
Could you please help?

Site Admin
Posts: 1491
Joined: Thu Jul 10, 2008 2:21 pm

Re: Select source without GUI

Post by Alex » Wed Dec 10, 2008 9:56 pm

Hello Toan,

Please read this FAQ: ... eSelection

Best regards, Alexander

Post Reply