ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 WIA + Twain Papersizes/Frame
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Ralf

112 Posts

Posted - Apr 27 2017 :  06:32:26  Show Profile  Reply
Hallo,

I'm still have Problems with Setting the Papersize for the scanning.
In Twain there is the possibility to set Papersize with TwainParams.StandardSize.CurrentValue:=ieTW_Size.
For WIA I didn't find such way.

I thougt i can Set the Acquisition Frame in case of Wia or by Twain if setting TwainParams.StandardSize.CurrentValue doesn't work.

For Testing I used AllAquire Demo. I have different Scanner to test. For WIA-Scanner the AllAcquire Demo doesn't support the Setting of the Acquisition Frame. This is only supportet for Twain-Scanner.

Code i found in the AllAcquire Demo:
if AcquireParams.SelectedSource.API = ieaWIA then
chkFrameEnabled.Enabled := False;

Does that mean, that a setting of Frame in case of WIA isn't supported?

Thanks

Ralf

xequte

38176 Posts

Posted - Apr 30 2017 :  00:33:51  Show Profile  Reply
Hi Ralf

Setting paper size in WIA is not supported. You would need to use the X and Y Resolution properties.

Also, setting Twain params has no effect on WIA acquisition

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: