setCustomViewRotationAngle Method
In This Topic
Sets the custom rotation angle, in degrees, for single image in image viewer.
Syntax
var instance = new Vintasoft.Imaging.UI.WebImageViewerJS(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 image in image viewer.
- rotationAngle
- The rotation angle, in degrees, for image in image 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