L_Doc2GetPageCount

#include "ltdoc2.h"

L_LTDOC2_API L_INT EXT_FUNCTION L_Doc2GetPageCount(hDoc, pnPageCount)

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

Parameters

L_HDOC2 hDoc

Handle to the OCR document.

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 21.0.2021.4.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - OmniPage Engine C API Help