VintaSoft Imaging .NET SDK 12.5: Documentation for Web developer
Vintasoft.Imaging.UI Namespace / WebImageViewerJS type / set_ViewRotationAngle Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    set_ViewRotationAngle Method
    In This Topic
    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);
    
    
    function set_ViewRotationAngle(
    value
    The rotation angle, in degrees, of image in image viewer. Valid values are 0, 90, 180, 270. Default value is 0.
    : number
    ) : any;

    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