VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.UI Namespace / WebImageViewerJS type / setCustomViewRotationAngle Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    setCustomViewRotationAngle Method
    In This Topic
    Sets the custom rotation angle, in degrees, for single image in image viewer.
    Syntax
    var instance = new Vintasoft.Imaging.UI.WebImageViewerJS(controlId);
    
    var value; // Type: any
    
    // Parameters
    var imageIndex; // Type: number
    var rotationAngle; // Type: number
    
    value = instance.setCustomViewRotationAngle(imageIndex, rotationAngle);
    
    
    function setCustomViewRotationAngle(
    imageIndex
    A zero-based index of image in image viewer.
    : number,
    rotationAngle
    The rotation angle, in degrees, for image in image viewer. Valid values are 0, 90, 180, 270.
    : number
    ) : any;

    Parameters

    imageIndex
    A zero-based index of image in image viewer.
    rotationAngle
    The rotation angle, in degrees, for image in image viewer. Valid values are 0, 90, 180, 270.
    Exceptions
    ExceptionDescription
    Thrown if arguments have wrong type.
    Thrown if arguments have not correct values.
    Browser Compatibility
    56+
    45+
    11
    See Also