This documentation is for the old version. Go to the latest Upload Suite docs

UploadedFile.Angle Property

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


PHP Initialize
public function getAngle() {

Property Value

Type: string

The rotation angle of this user-selected file.


This property is changed if a user clicks an arrow icon to rotate an image. 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

See Also