Gets the OCR document pages count.
#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrDocument_GetPageCount(document, value)
Handle to the OCR document.
Address of type L_UINT to be updated with the OCR document pages count.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Gets the OCR document pages count.
For more information on creating the OCR pages, refer to L_OcrPage_FromBitmap.
For an example, refer to L_OcrDocument_ClearPages