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 : Friday, July 31, 2009 7:41:37 AM(UTC)
ssara_sada

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
 

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, August 2, 2009 5:17:47 AM(UTC)

Adam Boulad  
Guest

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)
ssara_sada

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)

Adnan Ismail  
Guest

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)
ssara_sada

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)

Adnan Ismail  
Guest

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..
File Attachment(s):
StandardMainDemo_Copy.zip (19kb) downloaded 92 time(s).
 
#7 Posted : Friday, November 6, 2009 11:25:36 AM(UTC)

GregR  
GregR

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.
File Attachment(s):
NET - v16 - WPF Twain Simple Acquire.zip (13kb) downloaded 90 time(s).
 
#8 Posted : Wednesday, June 15, 2011 11:43:55 AM(UTC)

Walter  
Walter

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.
File Attachment(s):
NET - v17 - WPF Twain Simple Acquire.zip (55kb) downloaded 89 time(s).
Walter Bates
Senior Support Engineer
LEAD Technologies, Inc.
LEAD Logo
 
#9 Posted : Monday, April 28, 2014 2:57:27 AM(UTC)

mohamed  
mohamed

Groups: Registered, Tech Support
Posts: 179


I have updated the project to use v18 .NET4 and VS2010.
File Attachment(s):
v18_WPF_Twain_Simple_Acquire_NET4.zip (31kb) downloaded 88 time(s).
Mohamed Abedallah
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 
#10 Posted : Sunday, July 10, 2016 6:09:15 AM(UTC)

mohamed  
mohamed

Groups: Registered, Tech Support
Posts: 179


I have updated the project to use v19 .NET4 and VS2010.
File Attachment(s):
v19_WPF_Twain_Simple_Acquire_NET4.zip (23kb) downloaded 100 time(s).

Edited by moderator Friday, October 7, 2016 4:11:10 PM(UTC)  | Reason: Fixed formatting

Mohamed Abedallah
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 
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.381 seconds.