RECOGWORDS

typedef struct _tagRecogWords
{
   L_UINT uStructSize;
   L_WCHAR szWord[MAX_WORD_SIZE];
   RECT rcWordArea;
   L_INT nZoneIndex;
} RECOGWORDS, * pRECOGWORDS;

The RECOGWORDS structure contains information about a recognized word.

Member

Description

uStructSize

Specifies the structure size. It should be equal to sizeof(RECOGWORDS).

szWord

String that contains the recognized word.

rcWordArea

RECT structure that contains the area for the recognized word.

nZoneIndex

Index of the zone in the zone list, which contains the word.

Comments

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

This structure is used with the following functions:

L_DocGetRecognizedWords

L_DocFreeRecognizedWords