Link Search Menu Expand Document

Image.Rotate Method

Explanation Rotate the image.

However, it is invalid for the Image object obtained by the GetImage method of the ImageList class.

Added since Ver.5.0.0
Not supported in Mobile, AI
Call format img.Rotate( direction )
Return value None
Arguments integer directionr Specify the amount to rotate from the following values.
Constant Value Description
Image.deg90 0 Rotate 90 degrees clockwise
Image.deg180 1 Rotate 180 degrees
Image.deg270 2 Rotate 270 degrees clockwise
Exception EXT-1 Image: Rotate argument is invalid
Example of use
    Image img;
    img.LoadImage("biz.jpg");
    img.Rotate(Image.deg180);
    
Related item