powered by
Get the number of pages in a pdf file
pdf_length(input, password = "")
an integer value with the number of pages in the pdf file
path or url to the input pdf file
string with password to open pdf file
pdf_file <- system.file("examples", "sufganiyot.pdf", package = "cpp11qpdf") pdf_length(pdf_file, "")
Run the code above in your browser using DataLab