The DocumentOperation namespace contains all the operations that can be applied to a document.
Apply a rotation operation to the document after load.
instance.applyOperations([{ type: 'rotatePages', pageIndexes: [0], rotateBy: 90}]) Copy
instance.applyOperations([{ type: 'rotatePages', pageIndexes: [0], rotateBy: 90}])
Export the document with the operations applied.
instance.exportPDFWithOperations([{ type: 'rotatePages', pageIndexes: [0], rotateBy: 90}]) Copy
instance.exportPDFWithOperations([{ type: 'rotatePages', pageIndexes: [0], rotateBy: 90}])
The DocumentOperation namespace contains all the operations that can be applied to a document.
Example
Apply a rotation operation to the document after load.
Example
Export the document with the operations applied.
See