#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrDocument_InsertPage(document, index, page)
L_OcrDocument document; | handle to the OCR document |
L_INT index; | index where you wish to insert the page |
L_OcrPage page; | handle to the OCR page to add to the document |
Insert L_OcrPage into the OCR document.
Parameter | Description |
---|---|
document | Handle to the OCR document. |
index | Index where you wish to insert the page inside the document internal pages list. |
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. |
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
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
LTOCR For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
For an example, refer to L_OcrDocument_ClearPages.