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

Sets 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_set(
   AT_BOOL bIsEnabled
);

Arguments:

Name Type Description
bIsEnabled AT_BOOL "Rotation 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 bAOIsEnabled = TRUE;
ErrCount += IG_REC_asian_orientation_enabled_set(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