Skip to contents

Get the width and height of slides in inches as a named vector.

Usage

slide_size(x)

Arguments

x

an rpptx object

Examples

my_pres <- read_pptx()
my_pres <- add_slide(my_pres,
  layout = "Two Content", master = "Office Theme")
slide_size(my_pres)
#> $width
#> [1] 10
#> 
#> $height
#> [1] 7.5
#>