ImageGear for C and C++ on Windows v19.5 - Updated
IG_REC_asian_deskew_enabled_set
API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Asian Settings Functions > IG_REC_asian_deskew_enabled_set

Sets a Boolean value indicating whether or not preprocessing deskew is enabled for Asian languages.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_asian_deskew_enabled_set(
   AT_BOOL bIsEnabled
);

Arguments:

Name Type Description
bIsEnabled AT_BOOL "Deskew is enabled" setting to be set.

Return Value:

The number of ImageGear errors that occurred during the function call.

Supported Raster Image Formats:

This function does not process image pixels.

Example:

 
Copy Code
AT_ERRCOUNT ErrCount = 0;
AT_BOOL bADIsEnabled = TRUE;
ErrCount += IG_REC_asian_deskew_enabled_set(bADIsEnabled);

Remarks:

If it is TRUE, the deskew mode IG_REC_IMG_DESKEW_AUTO works for Asian languages similarly to the Western languages. If it is FALSE, the IG_REC_IMG_DESKEW_AUTO will be the same as IG_REC_IMG_DESKEW_NO for Asian languages.

See Also

enumIGRecImgDeskew