←Select platform

OcrException Constructor(string,long)

Summary

Initializes a new instance of the OcrException class with a specified error message and engine-specific error code that is the cause of this exception.

Syntax
C#
VB
C++
Java
public OcrException( 
   string message, 
   long code 
) 
Public Function New( _ 
   ByVal message As String, _ 
   ByVal code As Long _ 
) 
public OcrException(String message, 
                    long code) 
public: 
OcrException(  
   String^ message, 
   int64 code 
) 

Parameters

message
The error message that explains the reason for the exception.

code
Engine-specific error code. To get a description of this code, use the IOcrEngine.GetErrorCodeString method.

Requirements

Target Platforms

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Ocr Assembly