Leadtools.Twain Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
FastConfiguration Event
See Also 
Leadtools.Twain Namespace > TwainSession Class : 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

Visual Basic (Declaration) 
Public Event FastConfiguration() As EventHandler(Of TwainFastConfigurationEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As TwainSession
Dim handler As EventHandler(Of TwainFastConfigurationEventArgs)
 
AddHandler instance.FastConfiguration, handler
C# 
public event EventHandler<TwainFastConfigurationEventArgs> FastConfiguration()
C++/CLI 
public:
event EventHandler<TwainFastConfigurationEventArgs>^ FastConfiguration();

Example

Remarks

To stop the scan configuration testing process, set the TwainFastConfigurationEventArgs.Stop property to true within the 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).

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also