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);
function setCustomViewRotationAngle(
: number,
: number
) : any;
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
Exception | Description |
| Thrown if arguments have wrong type. |
| Thrown if arguments have not correct values. |
Browser Compatibility
See Also