L_OcrPage_InsertZone

#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.

Parameters

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.

Returns

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

Comments

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

Help Version 20.0.2019.9.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - LEAD Engine C API Help