RotateImage Method of the ImageProcessingTools Object

This method rotates an image by the specified angle. The rotation angle (in degrees) is specified by a fraction. For example, fraction 90/1 specifies the angle of 90 degrees, fraction 360/6 specifies the angle of 60 degrees.

Syntax

Visual Basic .NET

Function RotateImage( _
  Image As Image, _
  AngleNumerator As Integer, _
  AngleDenominator As Integer _
) As Image
    

C++

HRESULT RotateImage(
  IImage*  Image,
  int      AngleNumerator,
  int      AngleDenominator,
  IImage** Result
);
    

Parameters

Image
[in] This variable refers to the Image object which is to be preprocessed.
AngleNumerator
[in] Specifies the numerator of the fraction, which represents the rotation angle.
AngleDenominator
[in] Specifies the denominator of the fraction, which represents the rotation angle.
Result
[out, retval] A pointer to the IImage* pointer variable that provides access to the resulting image.

Return values

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

See also

ImageProcessingTools

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.