L_OcrDocument_GetPageCount - OCR Module - LEAD Engine C++ API Help

L_OcrDocument_GetPageCount

#include "ltocr.h"

L_LTOCR_API L_INT EXT_FUNCTION L_OcrDocument_GetPageCount(document, value)

L_OcrDocument document; handle to the OCR document
L_UINT* value; address of type L_UINT to be updated with the OCR document pages count

Gets the OCR document pages count.

Parameter Description
document Handle to the OCR document.
value Address of type L_UINT to be updated with the OCR document pages count.

Returns

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

Comments

Gets the OCR document pages count.

For more information on creating the OCR pages, refer to L_OcrPage_FromBitmap.

Required DLLs and Libraries

LTOCR
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Help Version 20.0.2018.6.21
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - LEAD Engine C API Help