Nicomsoft OCR: Developer's Guide


Img_CopyCurrentPage


Syntax

C++:int Img_CopyCurrentPage(HIMG ImgObjSrc, HIMG ImgObjDst, int Flags)
C#:int Img_CopyCurrentPage(int ImgObjSrc, int ImgObjDst, int Flags)
Visual Basic:Function Img_CopyCurrentPage(ByVal ImgObjSrc As Integer, ByVal ImgObjDst As Integer, ByVal Flags As Integer) As Integer
Java:int Img_CopyCurrentPage(HIMG ImgObjSrc, HIMG ImgObjDst, int Flags)
Delphi: function Img_CopyCurrentPage(ImgObjSrc:HIMG; ImgObjDst:HIMG; Flags:integer):integer


Description

Copies the current image of the ImgObjSrc IMG object to the ImgObjDst object. This function is allowed only at the OCRSTEP_FIRST step for the ImgObjSrc IMG object, that is, before calling the Img_OCR function.


Parameters

ImgObjSrc [IN] – the source Image object.
ImgObjDst [IN] – the destination Image object.
Flags [IN] – reserved; must be 0.


Return value

Zero if success, otherwise an error code.


Remarks

None.


Example

None.