ImageGear v26.3 - Updated November 9, 2022
ImageGear.Core Assembly / ImageGear.Processing Namespace / ImGearProcessing Class / Rotate Method / Rotate(ImGearPage,ImGearRotationValues) Method
Image to rotate.
A value specifying the rotation angle: 0, 90, 180 or 270 degrees.




In This Topic
Rotate(ImGearPage,ImGearRotationValues) Method
In This Topic
Rotates an image on 90, 180, or 270 degrees.
Syntax
'Declaration
 
Public Overloads Shared Sub Rotate( _
   ByVal page As ImGearPage, _
   ByVal rotationValue As ImGearRotationValues _
) 
 
'Usage
 
Dim page As ImGearPage
Dim rotationValue As ImGearRotationValues
 
ImGearProcessing.Rotate(page, rotationValue)

Parameters

page
Image to rotate.
rotationValue
A value specifying the rotation angle: 0, 90, 180 or 270 degrees.
Remarks
This method rotates ImageGear.Core.ImGearPage class object on 90, 180, or 270 degrees. Processes all channels of the image and ROI.

Rotation direction is clockwise (left coordinate system).

Rotation on 90 and 270 degrees changes image dimensions.

Use CanApplyRotate method to check whether the operation can be performed.

See Also