Aurigma Image Uploader 4.6 Dual
ImageUploader.AllowRotate Property
See Also Supported in: ActiveX Java

Switch that specifies whether to display rotate icons on preview thumbnails.

# Syntax

##### Initialize

JavaScript | Copy Code
--- | ---
    <script type="text/javascript" src="iuembed.js"></script>
    <script type="text/javascript">
    var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500);
    //...other params...
    iu.addParam("AllowRotate", "true");
    //...other params...
    iu.writeHtml();
    </script>

##### Get/Set Value in Runtime

JavaScript | Copy Code
--- | ---
    getImageUploader("ImageUploaderID").setAllowRotate(value);
    value = getImageUploader("ImageUploaderID").getAllowRotate();

##### Property Value

A boolean value (`true` or `false`). If `true`, rotate icons (arrows) are visible when the user hovers a mouse pointer over the thumbnail, and therefore the user can rotate the images. Otherwise, these icons are not displayed and the user cannot rotate the images manually.

Default value is "true".

# Remarks

Regardless to this property value arrows are not displayed on the files which are not recognized as images.

Even if rotate icons are disabled, it is still possible to rotate an item either through JavaScript via the UploadFileAngle property, or automatically (based on EXIF information) using the AllowAutoRotate property.

# See Also

##### Examples

Resizing and Rotating Images

##### Reference

ShowDescriptions Property
ShowFileNames Property
FolderPaneAllowRotate Property
RotateIconClockwiseImageFormat Property
RotateIconClockwiseTooltipText Property
RotateIconCounterclockwiseImageFormat Property
RotateIconCounterclockwiseTooltipText Property
UploadPaneAllowRotate Property
AllowAutoRotate Property
AllowMultipleRotate Property
UploadFileAngle Property