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

slide_size(x)

Arguments

x

an rpptx object

See also

Other functions for reading presentation informations: annotate_base(), color_scheme(), doc_properties(), layout_properties(), layout_summary(), length.rpptx(), plot_layout_properties(), slide_summary()

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
#>