Leadtools TWAIN (Leadtools.Twain assembly)
LEAD Technologies, Inc

SetProperty Event






Occurs when setting TWAIN capabilities to currently selected TWAIN source by calling the Properties property.
Syntax
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
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 Gets the capability being set
Status 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: 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

See Also

Reference

TwainSession Class
TwainSession Members
Properties Property
Acquire Method
EnableSetPropertyEvent Property

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.