ImageGear for C and C++ on Windows v19.6 - Updated
IG_REC_correction_is_enabled_get
API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Spelling Settings Functions > IG_REC_correction_is_enabled_get

Inquires the Correction mode setting of the checking subsystem.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_correction_is_enabled_get(
   LPAT_BOOL pCorrection
);

Arguments:

Name Type Description
pCorrection LPAT_BOOL Address of a variable to get the Correction mode. If TRUE, correction is enabled.

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;
AT_BOOL bIsCorrectionEnabled = FALSE;
ErrCount = IG_REC_correction_is_enabled_get(&bIsCorrectionEnabled);