L_OcrZoneCharacters (original) (raw)

Summary

The recognized characters list of a zone inside a page.

Syntax

struct L_OcrZoneCharacters { [L_UINT](../../main/api/leadtools-basic-data-types.html) StructSize; [L_OcrCharacter](l-ocrcharacter.html)* Characters; [L_UINT](../../main/api/leadtools-basic-data-types.html) CharacterCount; }; typedef struct L_OcrZoneCharacters L_OcrZoneCharacters;

Members

StructSize

Structure size. It should be equal to sizeof(L_OcrZoneCharacters).

Characters

This member contains list of recognized characters of a particular zone inside the OCR page.

CharacterCount

This member represents the number of characters in L_OcrZoneCharacters.Characters.

Comments

To get the recognized characters of a page, call L_OcrPage_GetRecognizedCharacters after L_OcrPage_Recognize.

To update the recognized characters of a page, call L_OcrPage_SetRecognizedCharacters before calling L_OcrDocument_Save or L_OcrDocument_SaveXml.

L_OcrPageCharacters contains a list of the characters of the zones.

L_OcrZoneCharacters contains a list of the characters for a particular zone.

This structure is used inside the L_OcrPageCharacters which in turn is used by the following functions:

Usage