TWAIN progress

Discussions about TWAIN & WIA scanning in GdPicture.NET using GdPictureImaging.
Post Reply
dixus
Posts: 39
Joined: Wed Feb 10, 2010 9:23 am

TWAIN progress

Post by dixus » Thu Feb 18, 2010 1:22 pm

Is there a way to get the current progress of the scanning process?

The twain ui shows a progress bar. On a multipage scanner it would be perfect to have the possiblility to get the status of the scan process.

This is very important for our project... So if not implemented but possibly, could you add something like that:

Code: Select all


//add your delegate to GDLib event handler
GdLib.TwainDocScannedEvent+=OnDocScanned;

//receive events from gd
public void OnDocScanned(object sender, EventArgs e)
{
    GDPictureEventArgs gde = (GDPictureEventArgs )e;
    this.Text = gde.Info;
    progressBar1.Value = gde.PercentDone;
}
A second way would be a callback function.

Important is a way to show the user the progress of the process...

Thanks in advance,

dix

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: TWAIN progress

Post by Loïc » Thu Feb 18, 2010 3:22 pm

Hi,

Unfortunately we can't implement that. There is nothing in TWAIN specs defining this kind of callback.

With best regards,

Loïc

dixus
Posts: 39
Joined: Wed Feb 10, 2010 9:23 am

Re: TWAIN progress

Post by dixus » Thu Feb 18, 2010 4:26 pm

allright. thanks for the information.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest