ImageGear for C and C++ on Windows v19.1 - Updated
AT_REC_APPROX_REGEX_RECOGNIZE_WORD_CB_PARAMS
API Reference Guide > Recognition Component API Reference > Recognition Component Structures Reference > AT_REC_APPROX_REGEX_RECOGNIZE_WORD_CB_PARAMS

Details about a recognized word.

Declaration:

 
Copy Code
typedef struct tagAT_REC_APPROX_REGEX_RECOGNIZE_WORD_CB_PARAMS
{
   HIG_REC_APPROX_REGEX hRecApproxRegex;
   AT_INT index;
   AT_INT letter_count;
   LPAT_REC_APPROX_REGEX_LETTER* letters;
   HMIGEAR source_document;
   HIGEAR source_page;
   AT_INT source_page_number;
   HIG_REC_DOCUMENT source_rec_document;
   HIG_REC_IMAGE source_rec_page;
   LPAT_WCHAR word;

} AT_REC_APPROX_REGEX_RECOGNIZE_WORD_CB_PARAMS, * LPAT_REC_APPROX_REGEX_RECOGNIZE_WORD_CB_PARAMS;

Structure Members:

Name Type Description
hRecApproxRegex HIG_REC_APPROX_REGEX The approximate regex conducting the search. Default value is 0.
index AT_INT

The zero-based offset from the first letter in the source search domain.

  • If source is an ImageGear multi-page document, then the source search domain includes all recognized letters, in logical reading order, from source_document on page index source_page_number.
  • If source is an ImageGear page, then the source search domain includes all recognized letters, in logical reading order, on source_page.
  • If source is an ImageGear recognition document, then the source search domain includes all recognized letters, in logical reading order, from source_rec_document on source_rec_document_page_number.
  • If source is an ImageGear recognition page, then the source search domain includes all recognized letters, in logical reading order, on source_rec_page.

Default value is 0.

letter_count AT_INT The number of AT_REC_APPROX_REGEX_LETTER instances in the letters array. Default value is 0.
letters LPAT_REC_APPROX_REGEX_LETTER* A vector of LPAT_REC_APPROX_REGEX_LETTER instances describing a recognized word. Letters are sorted in logical reading order. Default value is empty string.
source_document HMIGEAR The handle to the source multi-page document. If the letter did not originate from an ImageGear multi-page document, then this parameter value is 0. Default value is 0.
source_page HIGEAR The handle to the source page. If the letter did not originate from an ImageGear page, then this parameter is 0. Default value is 0.
source_page_number AT_INT The page number in the ImageGear multi-page image document or ImageGear recognition document. Default value is 0.
source_rec_document HIG_REC_DOCUMENT The handle to the ImageGear recognition document. If the letter did not originate from an ImageGear multi-page document, then this parameter value is 0. Default value is 0.
source_rec_page HIG_REC_IMAGE The handle to the source page. If the letter did not originate from an ImageGear recognition page, then this parameter should be ignored. Default value is 0.
word LPAT_WCHAR The recognized word. Callers should inspect letters for details about each recognized letter. Default value is empty string.