←Select platform

LeadEventsDispatchMode Enumeration

Summary

Specifies the mode used to dispatch LEADTOOLS events.

Syntax
C#
VB
C++
public enum LeadEventsDispatchMode 
Public Enum LeadEventsDispatchMode  
public enum class LeadEventsDispatchMode   

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 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly