Learn R Programming

Rpoppler (version 0.1-3)

PDF_info: PDF document information

Description

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

Usage

PDF_info(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.

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.

Examples

Run this code
file <- system.file(file.path("doc", "Sweave.pdf"), package = "utils")
PDF_info(file)

Run the code above in your browser using DataLab