Added quickie to open a source.

This commit is contained in:
soukoku
2014-05-31 07:13:18 -04:00
parent 91c7e0f83e
commit ac881c0438
3 changed files with 24 additions and 1 deletions

View File

@@ -81,6 +81,13 @@ namespace NTwain
/// <returns></returns>
IEnumerable<TwainSource> GetSources();
/// <summary>
/// Quick shortcut to open a source.
/// </summary>
/// <param name="sourceName">Name of the source.</param>
/// <returns></returns>
ReturnCode OpenSource(string sourceName);
/// <summary>
/// Gets the manager status. Only call this at state 2 or higher.
/// </summary>