L_OcrDocument_AddPage

Summary

Adds a page into the OCR document.

Syntax

#include "ltocr.h"

L_LTOCR_API L_INT EXT_FUNCTION L_OcrDocument_AddPage(document, page)

Parameters

L_OcrDocument document

Handle to the OCR document.

L_OcrPage page

Handle to the OCR page to add to 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

Adds a page into the OCR document.

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

When working with file-based OCR document, make sure you recognize the OCR page before you add it to the document since in this mode there are some limitation to things you can do to the L_OcrPage after you add it to the document. This is not necessary if you are working with memory-based document. For more information, refer to Working With OCR Pages overview topic.

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to L_OcrDocumentManager_CreateDocument

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.