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

Returns 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_get(
   LPAT_BOOL lpIsEnabled
);

Arguments:

Name Type Description
lpIsEnabled LPAT_BOOL Buffer to retrieve "deskew is enabled" setting.

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 = FALSE;
ErrCount += IG_REC_asian_deskew_enabled_get(&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