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.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;} |
Property Value
true to use the LEADTOOLS thunk server when loading the internal engine, otherwise, false.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".
Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7