Leadtools.Workflow.Ocr Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
UseThunkServer Property
See Also 
Leadtools.Workflow.Ocr Namespace > OcrActivity Class : UseThunkServer Property



Gets or sets a value indicating whether to use the LEADTOOLS thunk server when loading the internal engine.

Syntax

Visual Basic (Declaration) 
Public Property UseThunkServer As Boolean
Visual Basic (Usage)Copy Code
Dim instance As OcrActivity
Dim value As Boolean
 
instance.UseThunkServer = value
 
value = instance.UseThunkServer
C# 
public bool UseThunkServer {get; set;}
C++/CLI 
public:
property bool UseThunkServer {
   bool get();
   void set (bool value);
}

Return Value

true to use the LEADTOOLS thunk server when loading the internal engine, otherwise, false.

Remarks

The various OCR engines provided by LEADTOOLS (except for the LEADTOOLS Advantage engine) are not thread safe. If your application requires multiple instances of a workflow that runs the OCR activities (multi-threads) or your application is server-based, then set the useThunkServer to true. The LEADTOOLS thunk server will be used in the background to ensure proper thread and process safety and cleanup. For more information, refer to LEADTOOLS OCR Thunk Server. IMPORTANT: The above discussion is for the LEADTOOLS Plus and Professional engines only. The LEADTOOLS Advantage engine supports multi-threading and x64 platform natively and does not require the use of a "thunk server".

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Workflow.Ocr requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features