L_Doc2GetPageCountExt

#include "ltdoc2.h"

L_LTDOC2_API L_INT L_Doc2GetPageCountExt(hDoc, nDocId, pnPageCount)

Gets the total number of pages in the specified OCR document.

Parameters

L_HDOC2 hDoc

Handle to the OCR document.

L_INT nDocId

Document ID created by calling L_Doc2CreateDocument.

L_INT * pnPageCount

Address of the variable to be updated with total number of OCR pages.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

To remove a page, call the L_Doc2RemovePage / L_Doc2RemovePageExt function.

Required DLLs and Libraries

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - OmniPage Engine C API Help