Enables or disables the parallel recognition mode of the engine.
Syntax
Visual Basic (Declaration) | |
---|
Public Property EnableParallelRecognition As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As RasterDocumentEngine
Dim value As Boolean
instance.EnableParallelRecognition = value
value = instance.EnableParallelRecognition
|
C# | |
---|
public bool EnableParallelRecognition {get; set;} |
C++/CLI | |
---|
public:
property bool EnableParallelRecognition {
bool get();
void set (bool value);
} |
Return Value
Flags to enable or disable parallel recognition mode.
Example
Visual Basic | Copy Code |
---|
Public Sub EnableParallelRecognitionExample()
RasterSupport.Unlock(Leadtools.RasterSupportType.Ocr, "TestKey")
Dim rasterDocument As RasterDocumentEngine
rasterDocument = RasterDocumentEngine.Instance
rasterDocument.Startup()
Dim enable As Boolean = rasterDocument.EnableParallelRecognition
If (Not enable) Then
rasterDocument.EnableParallelRecognition = True
End If
MessageBox.Show("The Parallel recognition mode is enabled.")
rasterDocument.Shutdown()
End Sub |
C# | Copy Code |
---|
public void EnableParallelRecognitionExample() { // Note that this is a sample key, which will not work in your toolkit RasterSupport.Unlock(Leadtools.RasterSupportType.Ocr, "TestKey"); RasterDocumentEngine rasterDocument; rasterDocument = RasterDocumentEngine.Instance; rasterDocument.Startup(); bool enable = rasterDocument.EnableParallelRecognition; if (!enable) rasterDocument.EnableParallelRecognition = true; MessageBox.Show("The Parallel recognition mode is enabled."); rasterDocument.Shutdown(); } |
Remarks
Requirements
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
See Also