Leadtools TWAIN (Leadtools.Twain assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
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

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.

Example

Remarks

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

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also