Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Tuesday, February 22, 2005 11:10:25 AM(UTC)

troy  
troy

Groups: Registered
Posts: 1


I am using the leadtools for .NET and i have an autofeeding scanner.  I start a scan using the twainsession.acquire method and check the page in the AcquirePage event.  Based on what I find out about that page, I want to be able to continue scanning the rest of the pages in the hopper or cancel the scan completely.  I know how to continue, but how do I cause the current scan to cancel?

Thanks

Troy Fillerup

troy@fillerups.org

 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Tuesday, May 3, 2005 5:04:21 AM(UTC)

Ike  
Ike

Groups: Tech Support
Posts: 23

Thanks: 3 times

TwainAcquirePageEventArgs now has a Cancel property. Set this during the AcquirePage event to cancel scanning.

Edited by moderator Saturday, October 1, 2016 7:59:17 PM(UTC)  | Reason: Not specified

Ike
LEAD Technologies, Inc.

LEAD Logo
 
#3 Posted : Thursday, February 8, 2007 10:22:20 AM(UTC)

blitzy  
blitzy

Groups: Registered
Posts: 16


Can someone please post a sample of VB.NET code for this? I cannot locate the Cancel property.

 
#4 Posted : Sunday, February 11, 2007 4:23:52 AM(UTC)

Qasem Lubani  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

What is the exact
build number that you have (from the version info tab of the DLL file properties)?
 
#5 Posted : Monday, February 12, 2007 4:35:33 AM(UTC)

blitzy  
blitzy

Groups: Registered
Posts: 16


Qasem Lubani wrote:What is the exact build number that you have (from the version info tab of the DLL file properties)?

I am using build 14.5.0.37 with .NET

Edited by moderator Saturday, October 1, 2016 7:59:58 PM(UTC)  | Reason: Not specified

 
#6 Posted : Tuesday, February 13, 2007 5:20:45 AM(UTC)

Qasem Lubani  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

In the main VB demo
located at the following path "LEAD Technologies, Inc\LEADTOOLS 14.5\Examples\Dotnet\v20\VB\MainDemo"
search for the function "_twainSession_AcquirePage" and set the property "e.Cancel() = True".
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.099 seconds.