Reference Guide
Reference Guides / JavaScript API / Actions / Document / RotateView
In This Topic
    RotateView
    In This Topic
     RotateView

    This function allows you to rotate the current view of all pages.

    RotateView: function (docuViewareID, rotation)

    Parameters

    docuViewareID
    The identifier for the DocuVieware™ instance you want to rotate the current view from.
    rotation
    The rotation you want, possible values are:
    • 1 = Rotate90FlipNone
    • 2 = Rotate180FlipNone
    • 3 = Rotate270FlipNone

    Return Value

    1 if error, 0 if success.