#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrPage_InsertZone(page, index, ocrZone)
L_OcrPage page; | handle to the OCR page |
L_INT index; | index you wish to insert the zone at |
const L_OcrZone* ocrZone; | Pointer to L_OcrZone structure to be inserted into the page zones list |
Inserts L_OcrZone at the internal zones list of the page at specifiec index.
Parameter | Description |
---|---|
page | Handle to the OCR page. |
index | Index you wish to insert the zone at. |
ocrZone | Pointer to L_OcrZone structure to be inserted into the page zones list. |
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
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_OcrPage_ExtractZoneMICRData.