L_OcrPage_InsertZone

Summary

Inserts L_OcrZone at the internal zones list of the page at specified index.

Syntax

#include "ltocr.h"

L_LTOCR_API L_INT EXT_FUNCTION L_OcrPage_InsertZone(page, index, ocrZone)

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 specified 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

See Also

Functions

Topics

Example

For an example, refer to L_OcrPage_ExtractZoneMICRData

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

LEADTOOLS OCR Module - LEAD Engine C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.