LEADTOOLS Support
Imaging
Imaging SDK Questions
Converting from LEADTOOLS 12 to LEADTOOLS 15
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Thursday, April 10, 2008 6:36:23 AM(UTC)
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++.
#2
Posted
:
Sunday, April 13, 2008 3:40:55 AM(UTC)
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.
LEADTOOLS Support
Imaging
Imaging SDK Questions
Converting from LEADTOOLS 12 to LEADTOOLS 15
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.