Skip to contents

pdf_paper() infers the paper size of a PDF document

Usage

pdf_paper(input)

Arguments

input

Input pdf filename.

Value

A character vector.

Examples

f <- pdf_create_blank(width = 8.5, height = 11)
pdf_paper(f)
#> [1] "letter"
unlink(f)