Image.RotateFlip method

Rotates, flips, or rotates and flips the image.

public abstract void RotateFlip(RotateFlipType rotateFlipType)
Parameter Type Description
rotateFlipType RotateFlipType Type of the rotate flip.


This example demonstrates the use of Rotate operation on an image. Example loads an existing image file from some disk location and performs the Rotate operation on the image according to the value of Enum Aspose.PSD.RotateFlipType


//Create an instance of image class and initialize it with an existing image file through File path
using (Aspose.PSD.Image image = Aspose.PSD.Image.Load(@"C:\temp\image.psd"))
    //Rotate the image at 180 degree about X axis

    // save all changes.

See Also