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

Identifies whether case-sensitive searches are enabled or disabled.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_approx_regex_is_case_sensitive_get(
   const HIG_REC_APPROX_REGEX higRecApproxRegex,
   const LPAT_BOOL lpIsEnabled
);

Arguments:

Name Type Description
higRecApproxRegex const HIG_REC_APPROX_REGEX The handle to an approximate regex instance.
lpIsEnabled const LPAT_BOOL The current toggle value.

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
AT_ERRCOUNT errCount = 0 ;
AT_BOOL is_case_sensitive = 0 ;
HIG_REC_APPROX_REGEX higRecApproxRegex = 0 ;

IG_REC_approx_regex_create( &higRecApproxRegex ) ;
errCount = IG_REC_approx_regex_is_case_sensitive_get
                         ( higRecApproxRegex, 
                           &is_case_sensitive 
                         ) ;
IG_REC_approx_regex_delete( higRecApproxRegex ) ;

Remarks:

When enabled, case-sensitivity is ignored when seeking pattern matches.

The default value is TRUE.

See Also

HIG_REC_APPROX_REGEX