Forum 'VintaSoft Twain .NET SDK Discussions'

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

Board index < VintaSoft Twain < VintaSoft Twain .NET SDK Discussions

Login

Select source without GUI



Select source without GUI

Post by ctn »

Dear all

Is it possible to select a source base on the source list which will be returned with this source code?
			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
_vsTwain.SelectSource(); 
can just be used if a source has been selected with a GUI.
Could you please help?
Thanks,
Toan


Re: Select source without GUI

Post by Alex »

Hello Toan,

Please read this FAQ: https://www.vintasoft.com/vstwain-dotnet ... eSelection

Best regards, Alexander


Page 1 from 1: 1