pdf_rotate_pages | R Documentation |
Rotate pages in a pdf file
pdf_rotate_pages(
input,
pages,
angle = 90,
relative = FALSE,
output = NULL,
password = ""
)
input |
path or url to the input pdf file |
pages |
a vector with page numbers to rotate |
angle |
rotation angle in degrees (positive = clockwise) |
relative |
if |
output |
base path of the output file(s) |
password |
string with password to open pdf file |
a character vector with the path of the rotated pdf file
pdf_file <- system.file("examples", "sufganiyot.pdf", package = "cpp11qpdf")
fout <- tempfile()
pdf_rotate_pages(pdf_file, 1, 90, FALSE, fout, "")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.