Gets a rotation angle of this user-selected file (measured in degrees clockwise).

Syntax

PHP

public function getAngle() {
}

Property Value

Type: string

The rotation angle of this user-selected file.

Remarks

This property is changed if a user clicks an arrow icon to rotate an image, or if the automatic EXIF rotation is enabled (see the EnableAutoRotation property for more details). You can use it if you want to rotate images on the server side (e.g. if you upload original files only). Possible values are:

  • 0
  • 90
  • 180
  • 270