←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#
C++/CLI
Java
Python
public OcrException( 
   string message, 
   long code 
) 
public OcrException(String message, 
                    long code) 
public: 
OcrException(  
   String^ message, 
   int64 code 
) 
__init__(self,message,code) # Overloaded constructor 

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 23.0.2024.4.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Ocr Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.