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

ImageUploader.UploadFileAngle Property

Supported in: ActiveX , Java

Rotation angle of the specified item of the upload list.

Syntax

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setUploadFileAngle(Index, value);
value = getImageUploader("ImageUploaderID").getUploadFileAngle(Index);

Parameters

Index

A positive integer which specifies an index of the upload list item (i.e. the upload file). An index is 1-based. In other words valid value is in range [1, UploadFileCount].

Property Value

One of the following values: 0, 90, 180, and 270 which specifies rotation angle relatively the original file orientation.

Remarks

Items can be rotated not only by the user, but also automatically, using the AllowAutoRotate. Also you can do it through JavaScript by modifying this property.

Note

This property affects the item even if rotate icons are not displayed.

See Also

Manual

Reference