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

Returns a Boolean value indicating whether or not preprocessing rotation is enabled for Asian languages.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_asian_orientation_enabled_get(
   LPAT_BOOL lpIsEnabled
);

Arguments:

Name Type Description
lpIsEnabled LPAT_BOOL Buffer to retrieve "rotation 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 bAOIsEnabled = FALSE;
ErrCount += IG_REC_asian_orientation_enabled_get(&bAOIsEnabled);

Remarks:

If it is TRUE, the rotation mode IG_REC_IMG_ROTATE_AUTO works for Asian languages similarly to the Western languages. If it is FALSE, the IG_REC_IMG_ROTATE_AUTO will be the same as IG_REC_IMG_ROTATE_NO for Asian languages.

See Also

enumIGRecImgRotate