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

var value; // Type: number

// Parameters
var imageIndex; // Type: number

value = instance.getCustomViewRotationAngle(imageIndex);

Parameters

imageIndex
A zero-based index on image in thumbnail viewer.

Return Value

-1 if image does not have the custom rotation angle; 0, 90, 190 or 270 if image has the custom rotation angle.
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Thrown if argument has not correct value.
Browser Compatibility
56+
45+
11
See Also