DetectRequiredRotation Method of the ImageProcessingTools Object

This method detects the rotation that should be applied to an image to return it to the normal (upright) orientation. To apply the rotation, use the RotateImageByRotationType method.

Syntax

Visual Basic .NET

Function DetectRequiredRotation( _
  Image As    Image, _
  Language As Language, _
) As RotationTypeEnum
    

C++

HRESULT DetectRequiredRotation(
  IImage*           Image,
  ILanguage*        Language,
  RotationTypeEnum* Result
);
    

Parameters

Image
[in] Refers to the Image object which is to be processed.
Language
[in] Refers to the Language object which specifies the language of the text on the image.
Result
[out, retval] Returns a RotationTypeEnum constant which specifies the rotation that should be applied to the image to return it to the normal orientation.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions.

See also

ImageProcessingTools

ImageProcessingTools::DetectOrientationByText

15.08.2023 13:19:30

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.