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

var value; // Type: number

// Parameters
var imageIndex; // Type: number

value = instance.getCustomViewRotationAngle(imageIndex);

Parameters

imageIndex
A zero-based index on image in image 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