RotateFlip(RotateFlipType: GxRotateFlipType);
RotateFlipType - rotate and flip type.
The RotateFlip method rotates and flips the image.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
Image: IGxImage;
Begin
Image:=ImageBox1.Image;
Image.RotateFlip(GxRotateFlipType.Rotate180FlipX);
ImageBox2.Image:=Image;
End Sub Button1OnClick;
After executing the example on clicking the button the component named ImageBox2 contains the image that is stored in the component named ImageBox1 that is rotated by 180 degrees clockwise and flipped from left to right.
See also: