RotateImageByRotationType Method of the ImageProcessingTools Object
This method rotates an image by a predefined angle (90 degrees clockwise, 90 degrees counterclockwise, upside down). To get the rotation needed to turn the image the right way up, you can use the DetectRequiredRotation method.
Syntax
Visual Basic .NET
Function RotateImageByRotationType( _ Image As Image, _ Rotation As RotationTypeEnum, _ ) As Image
C++
HRESULT RotateImageByRotationType( IImage* Image, RotationTypeEnum Rotation, IImage** Result );
Parameters
- Image
- [in] This variable refers to the Image object which is to be preprocessed.
- Rotation
- [in] Specifies one of the predefined rotation angles. See the description of the RotationTypeEnum constants.
- 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
15.08.2023 13:19:30