ImageGear Professional DLL v17.1 for Windows Accusoft
IG_REC_approx_regex_recognize_word_cb_get
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Approx Regex Functions > IG_REC_approx_regex_recognize_word_cb_get

Glossary Item Box

Identifies the current approximate regex recognize word callback.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_approx_regex_recognize_word_cb_get(
   const HIG_REC_APPROX_REGEX higRecApproxRegex,
   LPPFNIG_REC_APPROX_REGEX_RECOGNIZE_WORD_CB const  lppfnCallback,
   LPVOID *const  lppUserData
);

Arguments:

higRecApproxRegex The handle to an approximate regex instance.
lppfnCallback The far pointer indicating where to return the callback function to invoke after each word is recognized.
lppUserData The far pointer indicating where to return the anonymous data passed to the callback function.

Return Value:

The number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

This callback is invoked for each recognized word prior to searching for pattern matches.

Example:

  Copy Code
AT_ERRCOUNT errCount = 0 ;
HIG_REC_APPROX_REGEX higRecApproxRegex = 0 ;
LPFNIG_REC_APPROX_REGEX_RECOGNIZE_WORD_CB user_callback = 0 ;
LPVOID user_data = 0 ;

IG_REC_approx_regex_create( &higRecApproxRegex ) ;
errCount = IG_REC_approx_regex_recognize_word_cb_get 
                          ( higRecApproxRegex, 
                            &user_callback,
                            &user_data
                          ) ;
IG_REC_approx_regex_delete( higRecApproxRegex ) ; 

See Also

HIG_REC_APPROX_REGEX

©2012. Accusoft Corporation. All Rights Reserved.