#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrDocument_RemovePageAt(document, index)
Remove the OCR page at the specified index from the OCR document.
Handle to the OCR document.
Index of the OCR page to remove from the document.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
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
For an example, refer to L_OcrDocument_ClearPages