| Visual Basic (Declaration) | |
|---|---|
Public Event SetProperty As EventHandler(Of TwainSetPropertyEventArgs) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As TwainSession Dim handler As EventHandler(Of TwainSetPropertyEventArgs) AddHandler instance.SetProperty, handler | |
| C# | |
|---|---|
public event EventHandler<TwainSetPropertyEventArgs> SetProperty | |
| C++/CLI | |
|---|---|
public: event EventHandler<TwainSetPropertyEventArgs^>^ SetProperty | |
The event handler receives an argument of type TwainSetPropertyEventArgs containing data related to this event. The following TwainSetPropertyEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Capability | (Read only) Gets the capability being set |
| Status | (Read only) Gets the return value for each was being set. |
| Stop | Enables or disables firing event TwainSession.SetProperty. |
This event is called while setting the TWAIN capabilities to the currently selected TWAIN source.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Copy Code