PDF_doc: PDF document reference

View source: R/doc.R

PDF_docR Documentation

PDF document reference

Description

Create a reference to a Portable Document Format (PDF) file for use in subsequent information extraction from the file.

Usage

PDF_doc(file)

Arguments

file

A character string giving the path to a PDF file.

Value

A reference to a PDF file (external pointer object).

Examples

file <- system.file(file.path("doc", "Sweave.pdf"), package = "utils")
doc <- PDF_doc(file)
## Can now use the reference for information extraction, avoiding
## the creation of new PopplerDocument objects when doing so.
PDF_info(doc)
PDF_fonts(doc)

Rpoppler documentation built on May 2, 2023, 5:13 p.m.

Related to PDF_doc in Rpoppler...