LEADTOOLS WIA (Leadtools.Wia assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
SetPropertiesEvent Event
See Also 
Leadtools.Wia Namespace > WiaSession Class : SetPropertiesEvent Event



Occurs while setting each property inside the WiaProperties structure after calling the WiaSession.SetProperties method.

Syntax

Visual Basic (Declaration) 
Public Event SetPropertiesEvent As EventHandler(Of WiaSetPropertiesEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As WiaSession
Dim handler As EventHandler(Of WiaSetPropertiesEventArgs)
 
AddHandler instance.SetPropertiesEvent, handler
C# 
public event EventHandler<WiaSetPropertiesEventArgs> SetPropertiesEvent
C++/CLI 
public:
event EventHandler<WiaSetPropertiesEventArgs^>^ SetPropertiesEvent

Event Data

The event handler receives an argument of type WiaSetPropertiesEventArgs containing data related to this event. The following WiaSetPropertiesEventArgs properties provide information specific to this event.

PropertyDescription
Error Gets the returned error code for each property being set.
PropertyId Gets the property ID for the property being set.
Stop Enables or disables firing the WiaSession.SetPropertiesEvent event.
Value Gets the property value for the property being set.
ValueType Gets the type of the property being set.

Example

Remarks

This event will be called while setting each property inside the WiaProperties structure after calling the WiaSession.SetProperties method to provide the user with information about the return error, the property Id, the property value and property variable type and also gives the ability to abort the properties setting process.

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