←Select platform

LeadEventsDispatchMode Enumeration

Summary
Specifies the mode used to dispatch LEADTOOLS events.
Syntax
C#
C++/CLI
Python
public enum LeadEventsDispatchMode 
public enum class LeadEventsDispatchMode   
class LeadEventsDispatchMode(Enum): 
   Direct = 0 
   UseCoreDispatcher = 1 
Members
ValueMemberDescription
0DirectIndicates the class can fire events caused by asynchronous methods directly. This provides the best performance.
1UseCoreDispatcherIndicates the class must fire events caused by asynchronous methods using the Core Dispatcher. This reduces performance, but ensures events work in JavaScript applications.
Remarks

Some LEADTOOLS classes have asynchronous methods that fire events. The class that owns the event will have a DispatchMode property that is used to control how the events are dispatched. In JavaScript, the events must be fired using LeadEventsDispatchMode.UseCoreDispatcher.

Requirements

Target Platforms

See Also

Reference

Leadtools Namespace

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

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