lib update.

This commit is contained in:
soukoku
2014-11-11 18:24:41 -05:00
parent 87bd298081
commit d2134fbcd3
3 changed files with 6 additions and 2 deletions

View File

@@ -68,6 +68,8 @@ namespace Tester.Winform
};
_twain.DataTransferred += (s, e) =>
{
Debug.WriteLine("Transferred data.");
// example on getting ext image info
var infos = e.GetExtImageInfo(ExtendedImageInfo.Camera).Where(it => it.ReturnCode == ReturnCode.Success);
foreach (var it in infos)
@@ -178,6 +180,8 @@ namespace Tester.Winform
{
if (_twain.State == 4)
{
//_twain.CurrentSource.CapXferCount.Set(4);
_stopScan = false;
if (_twain.CurrentSource.SupportedCaps.Contains(CapabilityId.CapUIControllable))