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

FileUploadEventArgs.Angle Property

Gets rotation angle of the uploaded file (measured in degrees clockwise).

Namespace: Aurigma.ImageUploader
Assembly: Aurigma.ImageUploader (in Aurigma.ImageUploader.dll)

Syntax

Visual Basic
Public ReadOnly Property Angle As Integer
C#
public int Angle { get; }

Property Value

The value which represents rotation angle of the uploaded file.

Remarks

This property returns nonzero value if the user rotates an image clicking an arrow icon, or if the automatic EXIF rotation is enabled (see the AllowAutoRotate property for more details). You can use it if you would like to rotate images on the server side (e.g. if you upload only source file).

Possible values are:

  • 0
  • 90
  • 180
  • 270

See Also

Reference