ImageGear Professional DLL v17.1 for Windows Accusoft
AT_REC_MATCH_RESULT
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > Recognition Component API Reference > Recognition Component Structures Reference > AT_REC_MATCH_RESULT

Glossary Item Box

Approximate Regex Match Callback Parameters.

Declaration:

  Copy Code
typedef struct tagAT_REC_MATCH_RESULT
{
   AT_INT begin_index;
   AT_INT delete_count;
   LPAT_WCHAR domain;
   AT_INT end_index;
   AT_INT insert_count;
   AT_INT letter_count;
   LPAT_REC_APPROX_REGEX_LETTER * letters;
   LPAT_WCHAR pattern;
   HMIGEAR source_document;
   HIGEAR source_page;
   AT_INT source_page_number;
   HIG_REC_DOCUMENT source_rec_document;
   HIG_REC_IMAGE source_rec_page;
   AT_INT substitute_count;

} AT_REC_MATCH_RESULT, * LPAT_REC_MATCH_RESULT;

Structure Members:

begin_index The starting position from the first letter in the domain of a pattern match. Default value is 0.
delete_count The total number of deletes used to produce this match. Default value is 0.
domain The text domain searched. The text is expressed as a UTF-16 string. Default value is empty string.
end_index The ending position from the first letter in the domain of a pattern match. Default value is 0.
insert_count The total number of inserts used to produce this match. Default value is 0.
letter_count The number of LPAT_REC_APPROX_REGEX_LETTER instances in the letters array. This value is 0 if recognition information is unavailable for this match. Default value is 0.
letters A vector of LPAT_REC_APPROX_REGEX_LETTER instances for the matched word. This value is 0 if recognition information is unavailable for this match. Letters are sorted in logical reading order. The length is equal to letter_count. Default value is 0.
pattern The text pattern used to match. The text is expressed as a UTF-16 string. Default value is an empty string.
source_document 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 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 The page number in the ImageGear multi-page image document or ImageGear recognition document. Default value is 0.
source_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 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.
substitute_count The total number of substitutions used to produce this match. Default value is 0.

©2012. Accusoft Corporation. All Rights Reserved.