Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Thursday, April 10, 2008 6:36:23 AM(UTC)
anna168421

Groups: Registered
Posts: 11


Hi,

    Is there any documentation on how to convert code based on LEADTOOLS 12 to LEADTOOLS 15? Right now I have specific trouble converting members of TWAINPROPERTIES TO LTWAINPROPERTIES, but more questions might come. What exactly to do you convert nRes and nBits? Do you convert nWidth and nHeight to margins? We still use Visual Studio 6 (yeah, yeah) and C++.

 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Sunday, April 13, 2008 3:40:55 AM(UTC)

Qasem Lubani  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)


I
recommend that you use the L_TwainSetCapability function and call it repeatedly
to set the individual capabilities you need one by one. This will give you better control and fewer problems when dealing with different scanners.


For the
DPI, use the ICAP_XRESOLUTION and ICAP_YRESOLUTION capabilities. For the color resolution, use ICAP_PIXELTYPE.


For the
scan area, either use Image Frames (ICAP_FRAMES) or the Image Supported Sizes (ICAP_SUPPORTEDSIZES) capabilities, if they are supported by the Twain driver.

 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.078 seconds.