Customer's Canvas is honored with a 2020 InterTech Technology Award! Learn more 
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).

Syntax

PHP Initialize
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. 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

Reference