L_OcrDocument_RemovePageAt

Summary

Remove the OCR page at the specified index from the OCR document.

Syntax

#include "ltocr.h"

L_LTOCR_API L_INT EXT_FUNCTION L_OcrDocument_RemovePageAt(document, index)

Parameters

L_OcrDocument document

Handle to the OCR document.

L_INT index

Index of the OCR page to remove from the document.

Returns

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

Comments

Remove the OCR page 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.

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to L_OcrDocument_ClearPages

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 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.