length.rpptx: Number of slides

View source: R/pptx_informations.R

length.rpptxR Documentation

Number of slides

Description

Function length will return the number of slides.

Usage

## S3 method for class 'rpptx'
length(x)

Arguments

x

an rpptx object

See Also

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

Examples

my_pres <- read_pptx()
my_pres <- add_slide(my_pres)
my_pres <- add_slide(my_pres)
length(my_pres)

officer documentation built on Oct. 10, 2024, 1:06 a.m.