ImageGear for C and C++ on Windows v19.6 - Updated
IG_REC_deskew_mode_get
API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Recognition Image Preprocessing Functions > IG_REC_deskew_mode_get

Inquires the current image deskewing mode setting.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_deskew_mode_get(
   enumIGRecImgDeskew* pImgDeskew
);

Arguments:

Name Type Description
pImgDeskew enumIGRecImgDeskew* Pointer to a variable to get the current deskewing mode.

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;
enumIGRecImgDeskew eImgDeskew = IG_REC_IMG_DESKEW_AUTO;
ErrCount += IG_REC_deskew_mode_get(&eImgDeskew);