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 : Friday, November 10, 2017 12:14:38 AM(UTC)
Lawrence Noronha

Groups: Registered
Posts: 7

Thanks: 3 times

As per code in C:\LEADTOOLS 19\Examples\JS\Documents\ScanningDemo, the image viewer gets refreshed only after the scanner has stopped scanning pages.

private updatePagesView(status: lt.Scanning.JavaScript.ScanningStatus): void {
var newPageAdded: boolean = false;
for (; this._totalScannedPages < status.pageCount; this._lastPageNumber++) {
newPageAdded = true;
}

if (!status.isScanning) {
this.endOperation(false);
if (newPageAdded) {
this.gotoPage(this._lastPageNumber);
} else {
alert(status.errMessage);
}
}
}

With the above code, for example when I am scanning a batch of 5 pages, the image viewer will display only after last page in the batch is scanned.

Is there a way where we can refresh the image viewer after each page is scanned from the batch?

Any help is much appreciated.

Thanks,
Lawrence
 

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 : Friday, November 10, 2017 12:20:59 PM(UTC)

Joe Z  
Joe Z

Groups: Registered, Tech Support, Administrators
Posts: 63

Thanks: 2 times
Was thanked: 4 time(s) in 4 post(s)

Lawrence,

Could you provide more information on how you're running the demo? Are you using the provided web scanning service from our website?

It appears that batch scanning only obtains the image information once all pages have been scanned. Due to this, it would not be possible to update the Imageviewer with image information due to the batch process still taking place. However, I can submit a feature request to our engineering team where they will look into implementing this into future releases. Let me know if you would like to proceed with this.
Joe Zhan
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
thanks 1 user thanked Joe Z for this useful post.
Lawrence Noronha on 11/10/2017(UTC)
 
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.067 seconds.