Gets the L_OcrPage handle at the specified index from the OCR document.
#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrDocument_GetPageAt(document, index, page)
Handle to the OCR document.
Index of L_OcrPage to get.
Address of type L_OcrPage to be updated with the L_OcrPage handle at the specified index.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Gets the L_OcrPage handle at the specified index from the OCR document.
For more information on creating the OCR pages, refer to L_OcrPage_FromBitmap.
Note: This method only works in memory-based documents.
For an example, refer to L_OcrDocument_ClearPages