LEADTOOLS Workflow OCR (Leadtools.Workflow.Ocr assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
UseThunkServer Property
See Also 
Leadtools.Workflow.Ocr Namespace > OcrActivity Class : UseThunkServer Property



The UseThunkServer Property is available in LEADTOOLS Document and Medical Imaging toolkits.

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);
}

Property 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 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

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