Wraps FPDFPage_SetRotation. Allowed values are 0, 90,
180, 270 degrees (clockwise). The PDF spec restricts page
rotation to multiples of 90; PDFium silently treats any other
value as 0.
Arguments
- page
A
pdfium_pagefrompdf_page_load(), or apdfium_doc(in which casepage_numselects the page).- degrees
Integer; one of
0,90,180,270.- page_num
One-based page index. Only used when
pageis apdfium_doc. Ignored otherwise.
Details
Polymorphic in page: accepts either an already-loaded
pdfium_page from pdf_page_load() (with readwrite = TRUE
on the parent doc) or a pdfium_doc plus page_num.
See also
pdf_page_rotation() for the read side.