Nicomsoft OCR: Developer's Guide


Svr_NewDocument


Syntax

C++:int Svr_NewDocument(HSVR SvrObj)
C#:int Svr_NewDocument(int SvrObj)
Visual Basic:Function Svr_NewDocument(ByVal SvrObj As Integer) As Integer
Java:int Svr_NewDocument(HSVR SvrObj)
Delphi:function Svr_NewDocument(SvrObj:HSVR):integer


Description

Starts a new document and releases all resources allocated for the old document.


Parameters

SvrObj [IN] – the Saver object.


Return value

Zero if success, otherwise an error code.


Remarks

None.


Example

See the sample code for the Svr_Create function.