DocuVieware Reference Guide
RotatePage
Reference Guides > JavaScript API > Actions > Operations > RotatePage
 RotatePage

This function allows you to rotate the current page.

RotatePage: function (docuViewareID, rotation)

Parameters

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

Return Value

1 if error, 0 if success.