L_OcrDocument_IndexOfPage

Summary

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

Syntax

#include "ltocr.h"

L_LTOCR_API L_INT EXT_FUNCTION L_OcrDocument_IndexOfPage(document, page, value)

Parameters

L_OcrDocument document

Handle to the OCR document.

L_OcrPage page

Handle to the OCR page to try to find it inside OCR document.

L_INT* 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

Value Meaning
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

See Also

Functions

Topics

Example

For an example, refer to L_OcrDocument_ClearPages

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - LEAD Engine C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.