saraff-9EB1047A4BEB4cef8506B29BA325BD5A / Saraff.Twain.NET

Saraff.Twain.NET is the skillful scanning component which allows you to control work of flatbed scanner, web and digital camera and any other TWAIN device from .NET environment. You can use this library in your programs written in any programming languages compatible with .NET technology.
GNU General Public License v3.0
102 stars 35 forks source link

Ability to cancel at any time. #65

Closed krhoke closed 4 years ago

krhoke commented 4 years ago

I am using SaraffTwain.NET, with WPF, and I would like the ability to stop the scan and close the data source and data source manager with a button click. I need a way to just close the data source and data source manager at any time I want, and stop all scanning processes. Is this possible? Or, do I have to wait for a twain event as listed in the documentation, to fire? Sometimes, a data source is already open, and a second data source tries to open. I need a way to close data sources at any time. Thanks.

saraff-9EB1047A4BEB4cef8506B29BA325BD5A commented 4 years ago

Hello, @khoke1 See the Cancel scanning wiki page.