ImageGear for C and C++ on Windows v19.10 - Updated
IG_REC_decomp_method_get
API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Zone Support Functions > IG_REC_decomp_method_get

Inquires the current Page parser algorithm setting of the recognition engine.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_decomp_method_get(
   enumIGRecDecompMethod* pAlgorithm
);

Arguments:

Name Type Description
pAlgorithm enumIGRecDecompMethod* Address of a variable to receive the current setting of Page parser algorithm.

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;
enumIGRecDecompMethod eAlgorithm = IG_REC_DCM_AUTO;
ErrCount = IG_REC_decomp_method_get(&eAlgorithm);