PDF_info: PDF document information

View source: R/info.R

PDF_infoR Documentation

PDF document information

Description

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

Usage

PDF_info(file)

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

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

Rpoppler documentation built on Sept. 11, 2024, 6:31 p.m.

Related to PDF_info in Rpoppler...