Leadtools.Twain Namespace > TwainSession Class : SetProperty Event |
public event EventHandler<TwainSetPropertyEventArgs> SetProperty
'Declaration Public Event SetProperty As EventHandler(Of TwainSetPropertyEventArgs)
'Usage Dim instance As TwainSession Dim handler As EventHandler(Of TwainSetPropertyEventArgs) AddHandler instance.SetProperty, handler
public event EventHandler<TwainSetPropertyEventArgs> SetProperty
add_SetProperty(function(sender, e)) remove_SetProperty(function(sender, e))
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 | Gets the capability being set |
Status | Gets the return value for each was being set. |
Stop | Enables or disables firing event TwainSession.SetProperty. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2