ImageGear for C and C++ on Windows v19.3 - Updated
IG_REC_default_filter_get
API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Recognition Settings Functions > IG_REC_default_filter_get

Inquires the current Global filter setting. The result is the binary OR-ed combination of one or more disjunct members of enumIGRecChrFilter.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_default_filter_get(
   enumIGRecChrFilter* pGlfilter
);

Arguments:

Name Type Description
pGlfilter enumIGRecChrFilter* Pointer to a variable to get the current Global filter setting.

Return Value:

Returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.

Example:

 
Copy Code
AT_ERRCOUNT ErrCount = 0;
enumIGRecChrFilter eFilter = IG_REC_FILTER_DEFAULT;
ErrCount += IG_REC_default_filter_get(&eFilter);