Set scanning parameters Twain

Discussions about TWAIN & WIA scanning in GdPicture.NET using GdPictureImaging.
Post Reply
gtoledo
Posts: 46
Joined: Thu May 28, 2009 7:30 pm

Set scanning parameters Twain

Post by gtoledo » Fri Apr 29, 2016 7:58 pm

Hi,

I'm using version 10 of GdPicture and let me know if it is possible to establish by code, the scan parameters, ie: Color or B&W, 300 dpis, paper size: Letter.

best regards

Cedric
Posts: 269
Joined: Sun Sep 02, 2012 7:30 pm

Re: Set scanning parameters Twain

Post by Cedric » Mon May 02, 2016 10:37 am

Hello

Yes, of course it is. In the GdPictureImaging class you will find methods with the name starting with Twain*.
The methods you are looking for are most probably TwainSetBitDepth, TwainSetResolution and TwainSetPaperSize.
Please refer to the corresponding documentation for more information as well as the other available methods.

Regards

gtoledo
Posts: 46
Joined: Thu May 28, 2009 7:30 pm

Re: Set scanning parameters Twain

Post by gtoledo » Fri May 06, 2016 12:55 am

Hi,

I appreciate your kind reply and let me tell you that your recommendation was successful, but only if set to "true" the method "TwainSetHideUI" otherwise does not work.

Regards

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest