soukoku / ntwain

A TWAIN lib for dotnet.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question] Is there an event at the point of closing scanner UI without scanning?

OilPrince opened this issue · comments

I have a question about the operation of the scan.

At the start of the scan, the scanner UI is displayed as follows:

_twain.CurrentSource.Enable(SourceEnableMode.ShowUI, true, this.Handle)

Is there a way to check this through the event if I close the scanner UI without proceeding the scan?

If anyone knows, please answer!

The closest one is the SourceDisabled event on the twain session that happens when the scan action ends.