←Select platform

OcrRuntimeFileCallback Delegate

Summary

Signature of the callback to use for redirecting OCR runtime files.

Syntax
C#
VB
C++
public delegate RasterExceptionCode OcrRuntimeFileCallback( 
   IOcrEngine engine, 
   OcrRuntimeFile runtimeFile 
) 
Public Delegate Function OcrRuntimeFileCallback( 
   ByVal engine As IOcrEngine, 
   ByVal runtimeFile As OcrRuntimeFile 
) As RasterExceptionCode 
public: 
   delegate RasterExceptionCode OcrRuntimeFileCallback( 
      IOcrEngine^ engine, 
      OcrRuntimeFile^ runtimeFile 
   ) 

Parameters

engine

Caller OCR engine.

runtimeFile

Runtime file information.

Return Value

The caller should return RasterExceptionCode.Success if the operation is successful, or an appropriate error code if needed. For instance:

Remarks

Refer to IOcrEngine.RuntimeFileCallback for more information.

Example

For an example, refer to IOcrEngine.RuntimeFileCallback.

Requirements
Target Platforms
See Also

Reference

Leadtools.Ocr Namespace

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

Leadtools.Ocr Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.