Page 1 of 1

Set scanning parameters Twain

Posted: Fri Apr 29, 2016 7:58 pm
by gtoledo
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

Re: Set scanning parameters Twain

Posted: Mon May 02, 2016 10:37 am
by Cedric
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

Re: Set scanning parameters Twain

Posted: Fri May 06, 2016 12:55 am
by gtoledo
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