L_LTDOC2_API L_INT L_Doc2GetPageCountExt(hDoc, nDocId, pnPageCount)
Gets the total number of pages in the specified OCR document.
Handle to the OCR document.
Document ID created by calling L_Doc2CreateDocument.
Address of the variable to be updated with total number of OCR pages.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
Required DLLs and Libraries
For an example, refer to L_Doc2AddPageExt.