Nicomsoft OCR: Developer's Guide


Ocr_Destroy


Syntax

C++:int Ocr_Destroy(HOCR OcrObj)
C#:int Ocr_Destroy(int OcrObj)
Visual Basic:Function Ocr_Destroy(ByVal OcrObj As Integer) As Integer
Java:int Ocr_Destroy(HOCR OcrObj)
Delphi:function Ocr_Destroy(OcrObj:HOCR):integer


Description

Releases the OCR object. The OCR object can be released only after releasing all associated Image objects that were created using that OCR object with the Img_Create function.


Parameters

OcrObj [IN] – the OCR object to destroy.


Return value

Zero if success, otherwise an error code.


Remarks

All objects are automatically released when the Engine_Uninitialize function is called.


Example

None.