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

Specifies the Page parser algorithm setting.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_decomp_method_set(
   enumIGRecDecompMethod Algorithm
);

Arguments:

Name Type Description
Algorithm enumIGRecDecompMethod Page parser algorithm to be set.

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;
ErrCount += IG_REC_decomp_method_set(IG_REC_DCM_AUTO);

Remarks:

This setting is applied whenever the auto-zoning algorithm is activated.