VintaSoft Imaging .NET SDK v8.7
Vintasoft.Imaging.Annotation.Html5 Namespace / WebAnnotationViewerJS type / set_ImageRotationAngle Method
The rotation angle, in degrees, of image in image viewer. Valid values are 0, 90, 180, 270. Default value is 0.
In This Topic
    set_ImageRotationAngle Method
    In This Topic
    Sets the rotation angle, in degrees, of image in image viewer.
    Syntax
    var instance = new Vintasoft.Imaging.Annotation.Html5.WebAnnotationViewerJS(controlId);
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type:  number
    
    returnValue = instance.set_ImageRotationAngle(value);
    function set_ImageRotationAngle( 
       value : 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
    9
    5
    15
    5
    See Also