ImageGear .NET v25.2 - Updated
Rotate(ImGearPage,ImGearRotationValues) Method




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.
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)
public static void Rotate( 
   ImGearPage page,
   ImGearRotationValues rotationValue
)
public: static void Rotate( 
   ImGearPage* page,
   ImGearRotationValues rotationValue
) 
public:
static void Rotate( 
   ImGearPage^ page,
   ImGearRotationValues 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

Reference

ImGearProcessing Class
ImGearProcessing Members
Overload List
ImGearPage Class
ImGearRotationValues Enumeration

Is this page helpful?
Yes No
Thanks for your feedback.