ImageGear .NET v25.2 - Updated
ImageGear.Web.UI Library / ImageGear.Web.UI Namespace / PageView class / rotate Method

In This Topic
    rotate Method
    In This Topic
    Rotates the current image.
    Syntax
    ASP.NET Ajax JavaScript (Specification) 
    function rotate( 
       degreesClockwise : number
    ) : (Any);
    ASP.NET Ajax JavaScript (Usage) 
    var resultVar = instanceOfPageView.rotate(number);

    Parameters

    degreesClockwise
    Use this parameter to indicate how much to rotate the image. Only the following values are accepted: 90, 180, 270, -90, -180, and -270.
    Remarks

    Rotates the current image, while keeping the portion of the image at the center of the viewer remaining in the same location.

    See Also