This project has moved. For the latest updates, please go here.

EndXfer Repeating Scanned Images

Jan 24 at 7:24 PM
  private void Scanner_EndXfer(object sender, Twain32.EndXferEventArgs e)
            catch (TwainException ex)
Hi Saraff,

On first run of my application the EndXfer event is triggered 4 times for the number of pages that I scanned, If I don't close the application and rescan the pages now EndXfer event is triggered 8 times even though I am only scanning 4 pages. Do you have any clue as to why this would happen?

Jan 25 at 9:54 AM
Hello, rcarter.
Try check value of a XFERCOUNT capability. Also, maybe you several times subscribed on a Twain32.EndXfer event.
Marked as answer by rcarter on 1/25/2017 at 7:27 AM
Jan 25 at 2:27 PM
Thanks you are correct, I did not remember to unbind the event.