OCR_GetNumInputPages

<< Click to Display Table of Contents >>

Navigation:  OCR Module > High-Level Functions >

OCR_GetNumInputPages


 

PRO SDK Icon OCR_GetNumInputPages

 


 

OCR_GetNumInputPages returns the number of pages in the input layer that OCR_LoadW or OCR_LoadA loaded into the PXODocument. Please note that all elements are case-sensitive:

 

HRESULT OCR_GetNumInputPages(

PXODocument Doc,

DWORD* nPages

);

 

Parameters

 

Doc

Specifies the PXODocument that OCR_Init created and OCR_LoadW or OCR_LoadA loaded.

 

nPages

Pointer to receive the DWORD value that contains the number of pages in the document's input layer.

 

Return Values

 

If the function succeeds then the return value is OCR_OK.

 

If the function fails then the return value is an error code.