Nicomsoft OCR: Developer's Guide


Scan_Destroy


Syntax

C++:int Scan_Destroy(HSCAN ScanObj)
C#:int Scan_Destroy(int ScanObj)
Visual Basic:Function Scan_Destroy(ByVal ScanObj As Integer) As Integer
Java:int Scan_Destroy(HSCAN ScanObj)
Delphi:function Scan_Destroy(ScanObj:HSCAN):integer


Description

Releases the Scan object.


Parameters

ScanObj [IN] – the Scan 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.