C#
VB
WinRT C#
C++
Specifies the mode used to dispatch LEADTOOLS events.
public enum LeadEventsDispatchMode
Public Enum LeadEventsDispatchMode
public enum LeadEventsDispatchMode
Leadtools.LeadEventsDispatchMode = function() { };
Leadtools.LeadEventsDispatchMode.prototype = {<br/>
LeadtoolsMemberMarker(replace me)
};
public enum class LeadEventsDispatchMode
Members
Value | Member | Description |
---|---|---|
0 | Direct | Indicates the class can fire events caused by asynchronous methods directly. This provides the best performance. |
1 | UseCoreDispatcher | Indicates the class must fire events caused by asynchronous methods using the Core Dispatcher. This reduces performance, but ensures events work in JavaScript applications. |
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.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET