SetPropertiesEvent Event

Summary
Occurs while setting each property inside the WiaProperties structure after calling the SetProperties method.
Syntax
C#
VB
C++
public event EventHandler<WiaSetPropertiesEventArgs> SetPropertiesEvent 
  
Public Event SetPropertiesEvent As EventHandler(Of WiaSetPropertiesEventArgs) 
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 SetPropertiesEvent event.
Value Gets the property value for the property being set.
ValueType Gets the type of the property being set.
Remarks

This event will be called while setting each property inside the WiaProperties structure after calling the 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.

Example

Refer to WiaSession.GetRootItem.Refer to WiaSession.GetRootItem.

Requirements

Target Platforms

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Wia Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.