- Topics - 1
- Replies - 4
- Total Posts - 5
I have also tried using Tw_ImageInfo. Here is my call to perform the actual scan:
rc = DSixfer(appid, srcds, TwDG.Image, TwDAT.ImageNativeXfer, TwMSG.Get, ref hbitmap);
if (rc != TwRC.XferDone)
Until this code executes, the paper is still sitting in the tray waiting to be scanned. If I try retrieving the ImageInfo or FrameInfo first, how could it possibly work since it hasn’t been fed through the machine yet?
When the code executes, the page is fed into the machine and scanned. If I then check FrameInfo, rc returns failure. If I check ImageInfo, all the returned values are the same as they were when I checked them before the scan. I believe that the values being returned are the initial scanner settings for 8.5×11 paper, instead of an image that is sized to the actual paper size.
I hope I am explaining this correctly. Thanks for the reply.