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 |
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.
Property | Description |
---|---|
FastConfiguration | Gets the TwainFastConfiguration object used in the scan configuration being tested. |
Stop | Indicates whether or not to stop the configuration test. |
Refer to TwainSession.FindFastConfiguration.
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).
For more information, refer to Fast TWAIN (Scan Configurations).
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7