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

Provides the current trade-off setting.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_tradeoff_get(
   enumIGRecRMTradeoff* pTradeoff
);

Arguments:

Name Type Description
pTradeoff enumIGRecRMTradeoff* Pointer to a variable to get the current trade-off 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;
enumIGRecRMTradeoff eTradeoff = IG_REC_TO_ACCURATE;
ErrCount += IG_REC_tradeoff_get(&eTradeoff);