RECOGWORDS2

typedef struct _tagRecogWords2
{
   L_UINT uStructSize;
   L_WCHAR szWord[DOC2_MAX_WORD_SIZE];
   RECT rcWordArea;
   L_INT nZoneIndex;
} RECOGWORDS2, * pRECOGWORDS2;

The RECOGWORDS2 structure provides information about a word that has been recognized.

Member

Description

uStructSize

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

szWord

String that contains the recognized word.

rcWordArea

RECT structure that specifies the area where the recognized word occurs.

nZoneIndex

Index of the zone in the zone list  that contains the word.

Comments

pRECOGWORDS2 is a pointer to a RECOGWORDS2 structure. If the function parameter type is pRECOGWORDS2, declare a RECOGWORDS2 variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pRECOGWORDS2 variable is necessary only if the program requires a pointer.

This structure is used with the following functions:

L_Doc2GetRecognizedWords

L_Doc2FreeRecognizedWords