#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrPage_InsertZone(page, index, ocrZone)
Inserts L_OcrZone at the internal zones list of the page at specifiec index.
Handle to the OCR page.
Index you wish to insert the zone at.
Pointer to L_OcrZone structure to be inserted into the page zones list.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Inserts L_OcrZone at the internal zones list of the page at specifiec index.
If the zone index is outside the range of the internal zones list an error will return, so its a good practice to always check for zones count using L_OcrPage_GetZoneCount to determine the correct index where you wish to insert the new zone.
Required DLLs and Libraries
For an example, refer to L_OcrPage_ExtractZoneMICRData