VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.UI Namespace / WebImageViewerJS type / set_ViewRotationAngle Property
Syntax Exceptions BrowserCompatibility SeeAlso
set_ViewRotationAngle Method
Sets the rotation angle, in degrees, for all images in image viewer.
Syntax
var instance = new Vintasoft.Imaging.UI.WebImageViewerJS(controlId);

var returnValue; // Type: any

// Parameters
var value; // Type: number

returnValue = instance.set_ViewRotationAngle(value);

Parameters

value
The rotation angle, in degrees, of image in image viewer. Valid values are 0, 90, 180, 270. Default value is 0.
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Thrown if argument is not orthogonal anlge.
Browser Compatibility
56+
45+
11
See Also