How do I rotate a page?
To rotate a page in a document, use the DocumentOperation API. For example, if you want to rotate the first page of your document 90 degrees clockwise, use the following code:
// Rotate the first page of the document 90 degrees clockwise.instance.applyOperations([  {    type: "rotatePages",    pageIndexes: [0],    rotateBy: 90  }]);This requires the Document Editor component.
This requires the Document Editor component.
 
  
  
  
 