PDF document information

Share:

Description

Extract document information from a Portable Document Format (PDF) file.

Usage

1

Arguments

file

A character string giving the path to a PDF file, or an object of class "PDF_doc" giving a reference to a PDF file.

Value

An object of class PDF_info (which has useful format and print methods), containing the information in the PDF Info dictionary (title, subject, keywords, author, creator, producer, creation date, modification date) as well as the number of pages and the page sizes, whether the document is optimized (linearized), and the PDF version it uses.

Examples

1
2
file <- system.file(file.path("doc", "Sweave.pdf"), package = "utils")
PDF_info(file)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.