Nicomsoft OCR: Developer's Guide


Img_Unload


Syntax

C++:int Img_Unload(HIMG ImgObj)
C#:int Img_Unload(int ImgObj)
Visual Basic:Function Img_Unload(ByVal ImgObj As Integer) As Integer
Java:int Img_Unload(HIMG ImgObj)
Delphi:function Img_Unload(ImgObj:HIMG):integer


Description

Unloads the image from the Image object and releases all Block objects associated with that Image object.


Parameters

ImgObj [IN] – the Image object.


Return value

Zero if success, otherwise an error code.


Remarks

You can use this function to clear the assigned image when it is not needed anymore. It will reduce memory usage.


Example

None.