L_OcrDocument_IndexOfPage

#include "ltocr.h"

L_LTOCR_API L_INT EXT_FUNCTION L_OcrDocument_IndexOfPage(document, page, value)

L_OcrDocument document; handle to the OCR document
L_OcrPage page; handle to the OCR page to find
L_INT* value; address of type L_INT to be updated with the index of the passed L_OcrPage

Gets the index of the passed L_OcrPage inside the OCR document pages.

Parameter Description
document Handle to the OCR document.
page Handle to the OCR page to try to find it inside OCR document.
value Address of type L_INT to be updated with the index of the passed L_OcrPage inside OCR document pages. If the page is not found then this variable will have the value -1.

Returns

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

Comments

Gets the index of the passed L_OcrPage inside the OCR document pages.

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

Note: This method only works in memory-based documents.

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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Advantage OCR C API Help