modern-pdf-lib / rotateAllPages
Function: rotateAllPages()
rotateAllPages(
doc,angle):void
Defined in: src/core/pageManipulation.ts:381
Rotate all pages in the document by the specified angle.
Parameters
doc
The PdfDocument to modify.
angle
number
Rotation angle in degrees (must be a multiple of 90).
Returns
void