VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.UI Namespace / WebThumbnailViewerJS type / setCustomViewRotationAngle Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
setCustomViewRotationAngle Method
In This Topic
Sets the custom rotation angle, in degrees, for single thumbnail in thumbnail viewer.
Syntax
var instance = new Vintasoft.Imaging.UI.WebThumbnailViewerJS(controlId);

var value; // Type: any

// Parameters
var imageIndex; // Type: number
var rotationAngle; // Type: number

value = instance.setCustomViewRotationAngle(imageIndex, rotationAngle);

Parameters

imageIndex
A zero-based index of thumbnail in thumbnail viewer.
rotationAngle
The rotation angle, in degrees, for thumbnail in thumbnail viewer. Valid values are 0, 90, 180, 270.
Exceptions
ExceptionDescription
Thrown if arguments have wrong type.
Thrown if arguments have not correct values.
Browser Compatibility
56+
45+
11
See Also