Leadtools TWAIN (Leadtools.Twain assembly)
LEAD Technologies, Inc

FastConfiguration Event






(Document/Medical only) This event is fired for each scan configuration tested, if the value of the EnableFastConfigurationEvent property is set to true.
Syntax
public event EventHandler<TwainFastConfigurationEventArgs> FastConfiguration
'Declaration
 
Public Event FastConfiguration As EventHandler(Of TwainFastConfigurationEventArgs)
'Usage
 
Dim instance As TwainSession
Dim handler As EventHandler(Of TwainFastConfigurationEventArgs)
 
AddHandler instance.FastConfiguration, handler
public event EventHandler<TwainFastConfigurationEventArgs> FastConfiguration
add_FastConfiguration(function(sender, e))
remove_FastConfiguration(function(sender, e))

public:
event EventHandler<TwainFastConfigurationEventArgs^>^ FastConfiguration
Event Data

The event handler receives an argument of type TwainFastConfigurationEventArgs containing data related to this event. The following TwainFastConfigurationEventArgs properties provide information specific to this event.

PropertyDescription
FastConfiguration Gets the TwainFastConfiguration object used in the scan configuration being tested.
Stop Indicates whether or not to stop the configuration test.
Remarks
To stop the scan configuration testing process, set the TwainFastConfigurationEventArgs.Stop property to true within the Leadtools.Twain.TwainSession.FastConfiguration event. The TwainFastConfigurationEventArgs.Stop property must be set to false to continue the scan configuration process.
For more information, refer to Fast TWAIN (Scan Configurations).
Example
Refer to FindFastConfiguration.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TwainSession Class
TwainSession Members
Startup Method
Shutdown Method
FindFastConfiguration Method
FindConfiguration Method
EnableFastConfigurationEvent Property

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.