officer (version 0.3.15)

length.rpptx: number of slides

Description

Function length will return the number of slides.

Usage

# S3 method for rpptx
length(x)

Arguments

x

an rpptx object

See Also

Other functions for reading presentation informations: annotate_base(), color_scheme(), layout_properties(), layout_summary(), plot_layout_properties(), slide_size(), slide_summary()

Examples

Run this code
# NOT RUN {
my_pres <- read_pptx()
my_pres <- add_slide(my_pres)
my_pres <- add_slide(my_pres)
length(my_pres)
# }

Run the code above in your browser using DataCamp Workspace