Change native file

Discussions about TWAIN & WIA scanning in GdPicture.NET using GdPictureImaging.
Post Reply
blagoye
Posts: 14
Joined: Sat Oct 31, 2009 11:24 pm

Change native file

Post by blagoye » Sat Oct 31, 2009 11:35 pm

Hello!

I was wondering is it possible to choose which one of scanned GdPicture objects can be saved to a file i.e. is it possible to change the native image of a AxTwain object?

Thank you in advance!

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Change native file

Post by Loïc » Sun Nov 01, 2009 1:34 pm

Hi,

Just use the SetnativeImage() function.

Kind regards,

Loïc

blagoye
Posts: 14
Joined: Sat Oct 31, 2009 11:24 pm

Re: Change native file

Post by blagoye » Sun Nov 01, 2009 2:14 pm

I would but there isn't any!
This SetNativeImage() method is a member of an AxGdViewer object and I think it is used to choose which scanned image to display.
Is there a built-in way, through some kind of method, to choose which of the scanned images to save to a file?

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Change native file

Post by Loïc » Mon Nov 02, 2009 11:56 am

Hi,

You are right. This method is not implemented in the TWAIN class.

A workaround consists to create one Twain object for each image handled.

Kind regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests