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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 WIA + Twain Papersizes/Frame

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Ralf Posted - Apr 27 2017 : 06:32:26
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
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Apr 30 2017 : 00:33:51
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