Leadtools TWAIN (Leadtools.Twain assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
SetProperty Event
See Also 
Leadtools.Twain Namespace > TwainSession Class : SetProperty Event



Occurs when setting TWAIN capabilities to currently selected TWAIN source by calling the TwainSession.Properties property.

Syntax

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

Event Data

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.

PropertyDescription
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.

Remarks

This event is called while setting the TWAIN capabilities to the currently selected TWAIN source.

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