ImageGear for C and C++ on Windows v19.8 - Updated
IG_REC_approx_regex_create
API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Approx Regex Functions > IG_REC_approx_regex_create

Creates a new approximate regex instance.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_approx_regex_create(
   const LPHIG_REC_APPROX_REGEX lphigRecApproxRegex
);

Arguments:

Name Type Description
lphigRecApproxRegex const LPHIG_REC_APPROX_REGEX The far pointer indicating where to return the handle of the approximate regex instance.

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.

Example:

 
Copy Code
HIG_REC_APPROX_REGEX higRecApproxRegex = 0 ;
AT_ERRCOUNT errCount = 0 ;

errCount = IG_REC_approx_regex_create( &higRecApproxRegex ) ;
IG_REC_approx_regex_delete( higRecApproxRegex ) ;

Remarks:

Callers are required to call IG_REC_approx_regex_delete to release resources owned by lphigRecApproxRegex.