LEADTOOLS Support
Imaging
Imaging SDK Questions
Need help on Scanning without displaying the Twain user interface
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Monday, October 17, 2011 1:20:42 AM(UTC)
Groups: Registered
Posts: 9
Hi,
I need help on Scanning to documents without displaying the Twain user interface.
Currently whe I press "Scan" Button (which calls RasterTwain.Acquire), it opens the Twain user interface and pressing Ok there, it starts scanning.
I dont want to show this Twain user interface and documents should be scanned just after pressing my "Scan" Button (with all the Twain Capabilities set earlier). Is there any way to do that? Any example will will help a lot.
Thanks in advance,
Tameshwar.
#2
Posted
:
Monday, October 17, 2011 1:47:31 AM(UTC)
Groups: Registered, Tech Support
Posts: 1,326
Was thanked: 1 time(s) in 1 post(s)
To scan the image without displaying the Twain user interface, you need to pass "0" to the RasterTwain.Acquire method:
+-------+
nRet = RasterTwain2.Acquire(0)
+-------+
Thanks,
Maen Badwan
LEADTOOLS Technical Support
LEADTOOLS Support
Imaging
Imaging SDK Questions
Need help on Scanning without displaying the Twain user interface
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.