Catch End Scanning Event

Issue #78 resolved
Keats . created an issue

Hi, i'm looking for a way to do something once the scanning ended. with :

_twainVM._session.DataTransferred += _session_DataTransferred;

do the job but it's triggered for each page scanned.

I want to be able to wait the end of the current scanning action in order to generate a pdf based what have been scanned.

Thanx

Comments (6)

  1. Eugene Wang repo owner

    You're looking for the SourceDisabled event. This is the opposite of the Enable() method used to start scanning.

  2. xiety

    After pressing Cancel in WIA scanner dialog master, SourceDisabled is not fired. How can I check this situation?

  3. Log in to comment