bool Rotate( int rotateValue );


rotateValue  rotateValue remainder of division by 360 must be 0, 90, -90, 180, -180, 270 or -270.

Return Value

true if rotate succeeded, false in case of failure. If function fails then additional error information can be retrieved by calling GetLastErrorMessage() function.


The Rotate function rotates image by specified number of degrees in clockwise direction.

This function is available since ClassGL version 3.6.10.

See Also

CRasterImage class methods