pdf_length | R Documentation |
Get the number of pages in a pdf file
pdf_length(input, password = "")
input |
path or url to the input pdf file |
password |
string with password to open pdf file |
an integer value with the number of pages in the pdf file
pdf_file <- system.file("examples", "sufganiyot.pdf", package = "cpp11qpdf")
pdf_length(pdf_file, "")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.