While some posts in this topic are more current, this topic was posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Friday, July 31, 2009 7:41:37 AM(UTC)
Groups: Registered
Posts: 7
Hi,
I would like to develop a screen for configuring the scanner properties. Is there any controls that i can use it for configuring scanners instead of creating my own control.
Regards,
Sara
#2
Posted
:
Sunday, August 2, 2009 5:17:47 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Sara,
I'm not sure that I understand what you mean exactly but you can show the device driver dialog without scanning by calling the TwainSession.ShowTemplateDialog Method (if you are using .NET objects). If you are using other programming interface, please specify.
If you mean something else, please provide with more details.
#3
Posted
:
Monday, August 3, 2009 7:50:49 AM(UTC)
Groups: Registered
Posts: 7
I would like to configure color mode, resolution,original size, image rotation and other stuffs related to scanner configuration. do you have any predesigned control in lead tools for the above configuration.
Regards,
Sara
#4
Posted
:
Tuesday, August 4, 2009 2:24:54 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Sara,
We have functions that allow you to control scanning devices that have a standard Twain driver or WIA driver.
Are you using such a device?
If your scanner's driver supports the capabilities you mentioned, you should be able to use our toolkit to control them.
Which programming language(s) are you considering using?
#5
Posted
:
Tuesday, August 4, 2009 1:42:07 PM(UTC)
Groups: Registered
Posts: 7
I am using Twain Driver and trying in my WPF application with c# code behind.
Sara
#6
Posted
:
Thursday, August 6, 2009 5:43:31 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Sara,
I modified the WPF demo to add TWAIN functionality to it, and it worked.
Just modify the TwainSession.Startup() method in the example in the help topic "Acquire Method" in our .NET help file. It should be like this:
acq_session.Startup(null, "LEAD Technologies, Inc.", "LEAD Twain .NET", "Version 16.5", "LEADTools Twain test sample", TwainStartupFlags.InitializeMultithreaded);
I'm attaching the modified project. You can try the scanning feature when you run the demo from menu Help->About..
#7
Posted
:
Friday, November 6, 2009 11:25:36 AM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 764
The better way to startup the Twain session in a WPF application is to use
WPFs libraries to get an IWin32Window
object for the WPF window. Here's an example from CodeProject that
shows how to do this:
http://www.codeproject.com/KB/WPF/MessageBox.aspx
I've also attached a small sample project in C# 2008 that implements it.
#8
Posted
:
Wednesday, June 15, 2011 11:43:55 AM(UTC)
Groups: Tech Support
Posts: 366
Thanks: 1 times
Was thanked: 4 time(s) in 4 post(s)
I updated this project to use the v17 .NET Win32 binaries using Visual Studio 2010.
Walter Bates
Senior Support Engineer
LEAD Technologies, Inc.
#9
Posted
:
Monday, April 28, 2014 2:57:27 AM(UTC)
Groups: Registered, Tech Support
Posts: 179
I have updated the project to use v18 .NET4 and VS2010.
Mohamed Abedallah
Developer Support Engineer
LEAD Technologies, Inc.
#10
Posted
:
Sunday, July 10, 2016 6:09:15 AM(UTC)
Groups: Registered, Tech Support
Posts: 179
I have updated the project to use v19 .NET4 and VS2010.
Edited by moderator Friday, October 7, 2016 4:11:10 PM(UTC)
| Reason: Fixed formatting
Mohamed Abedallah
Developer Support Engineer
LEAD Technologies, Inc.
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.