L_OcrDocument_InsertPage

#include "ltocr.h"

L_LTOCR_API L_INT EXT_FUNCTION L_OcrDocument_InsertPage(document, index, page)

Insert L_OcrPage into the OCR document.

Parameters

L_OcrDocument document

Handle to the OCR document.

L_INT index

Index where you wish to insert the page inside the document internal pages list.

L_OcrPage page

Handle to the OCR page to insert into the document. You can obtain this OCR page handle by creating the page using L_OcrPage_FromBitmap method.

Returns

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

Comments

Insert L_OcrPage into 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.

Required DLLs and Libraries

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

LEADTOOLS OCR Module - LEAD Engine C API Help